What is an incomplete type?

Answer Posted / atul shankhwar

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.

Example:

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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to implement is-a and has-a class relationships?

589


What do the keywords volatile and mean mutable?

608


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

572


What is the use of class in c++?

570


What is this pointer in c++?

734






What is c++ similar to?

601


Explain the concept of friend function in c++?

605


Why the usage of pointers in C++ is not recommended ?

900


What is c++ map?

571


Which one is better- macro or function?

657


Can I have a reference as a data member of a class? If yes, then how do I initialise it?

706


What is a constructor and how is it called?

600


How do you declare A pointer to function which receives an int pointer and returns a float pointer

681


What happens if a pointer is deleted twice?

790


What is the use of 'this' pointer?

771