What is the Difference between "C structure" and "C++
structure"?
Answer Posted / jayesh pawar
1)In "C++" Structure we can specify the data and functions as public,private or protected but in "C" Structure we can't.
2)In "C" Structure Variable initialization must contains the keyword struct but in C++ not required.
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is runtime errors c++?
What is lambda expression c++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
Write about the scope resolution operator?
Who made c++?
What are the advantage of using register variables?
Can we overload operator in c++?
How would you use the functions sin(), pow(), sqrt()?
What is the use of c++ programming language in real life?
How many ways can a variable be initialized into in C++?
What is the use of namespace std in C++?
Define what is constructor?
Explain what happens when a pointer is deleted twice?
What is virtual destructor? What is its use?
Describe exception handling concept with an example?