C++ Interview Questions and Answers


What is an incomplete type in C++?

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.

Posted by:Richards