What are the differences between a struct in C and in C++?
Answer Posted / swetcha
C structure does not support member functions to be
declared in the structure whereas C++ structure can have
member functions declared in them
| Is This Answer Correct ? | 34 Yes | 3 No |
Post New Answer View All Answers
program explaining feautures of c++
What is a catch statement?
What is virtual destructor ans explain its use?
What is stream and its types in c++?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
What is an accessor in c++?
How are pointers type-cast?
What are references in c++?
What is the difference between a reference and a pointer?
Why the usage of pointers in C++ is not recommended ?
Can constructor be static in c++?
What is while loops?
Write about the use of the virtual destructor?
List the issue that the auto_ptr object handles?
What type of question are asked in GE code writing test based on c++ data structures and pointers?