What is an incomplete type? C++

Q

What is an incomplete type? C++

✍: Guest

A

Incomplete types refers to pointers in which there is non availability of the implementation of the referenced location or it points to some location whose value is not available for modification.

int *i=0x400 // i points to address 400
*i=0; //set the value of memory location pointed by i.

Incomplete types are otherwise called uninitialized pointers.

2012-01-06, 2616👍, 0💬