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 private inheritance?
Can I learn c++ without learning c?
Name the debugging methods that are used to solve problems?
Do you know the use of vtable?
What are the benefits of operator overloading?
Write a program in C++ for Fibonacci series
Why namespace is used in c++?
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
What is the best c++ book?
How should runtime errors be handled in c++?
What is low level language in simple words?
Write a program to show polymorphism in C++?
How does atoi function work?
How the keyword struct is different from the keyword class in c++?
Are vectors faster than arrays?