What is an incomplete type?



What is an incomplete type?..

Answer / 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

More C++ General Interview Questions

What is volatile and pragma? When they are used?

1 Answers  


how to explain our contribution in the project?

1 Answers   Wipro, Yahoo,


What is the type of 'this' pointer? When does it get created?

1 Answers  


Is there something that we can do in C and not in C++?

14 Answers   Patni,


throw Can constructors exceptions?

1 Answers  


How would you differentiate between a pre and post increment operators while overloading?

1 Answers  


What is RAII (Resource Acquisition Is Initialization)?

1 Answers  


Define inline function

1 Answers  


What is an adaptor class or Wrapper class?

1 Answers  


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

1 Answers  


Differentiate between a deep copy and a shallow copy?

1 Answers  


Why would you make a destructor virtual?

3 Answers   Lehman Brothers,


Categories