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
Is it possible to provide default values while overloading a binary operator?
How do you clear a set in c++?
Describe private, protected and public – the differences and give examples.
What is & in c++ function?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What does std mean in c++?
You run a shell on unix system. How would you tell which shell are you running?
What does flush do c++?
Can I create my own functions in c++?
Can we define function inside main in c++?
which operator is used for performing an exponential operation a) > b) ^ c) none
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
Explain the properties and principles of oop.
What is the full form nasa?
Define 'std'.