Can a Structure contain a Pointer to itself?
Answer / Pramod Kumar Bharti
Yes, a structure can contain a pointer to itself. This is known as a recursive data structure. For example: `struct Node { int data; struct Node* next; };`
| Is This Answer Correct ? | 0 Yes | 0 No |
What are namespaces in c++?
Is overriding possible in c++?
Why c++ is so important?
Is the declaration of a class its interface or its implementation?
what do you mean by volatile variable?
What is the use of endl?
How static variables and local variablesare similar and dissimilar?
What are the 4 types of library?
What are register variables?
What is size of a object of following class? class Foo { public: void foo(){} }
What is late binding c++?
what is a reference variable in C++?