Interview Questions

What is an incomplete type?

C++ Interview Questions and Answers


(Continued from previous question...)

10. What is an incomplete type?

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.

(Continued on next question...)

Other Interview Questions