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
What is the use of ::(scope resolution operator)?
What is object oriented programming (oop)?
Write a program which employs Recursion
You want to link a c++ program to c functions. How would you do it?
Which bitwise operator is used to check whether a particular bit is on or off?
Is C++ case sensitive a) False b) Depends on implementation c) True
What is doubly linked list in c++?
Is c the same as c++?
What does extern mean in a function declaration in c++?
Does c++ have string data type?
When should we use container classes instead of arrays?
What is difference between class and structure in c++?
What is the basic concept of c++?
What do you mean by enumerated data type?
What are the advantages of using pointers in a program?