What is the Difference between "C structure" and "C++
structure"?
Answer Posted / balaji
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 ? | 34 Yes | 2 No |
Post New Answer View All Answers
Which bitwise operator is used to check whether a particular bit is on or off?
Is c++ still in demand?
How can a struct in c++ differs from a struct in c?
What are member functions used in c++?
Write syntax to define friend functions in C++.
Why is it called c++?
Explain public, protected, private in c++?
How a modifier is similar to mutator?
What are the rules for naming an identifier?
What language is a dll written in?
What is c++ iterator?
Are c and c++ different?
What is data structure in c++?
Explain the difference between using macro and inline functions?
Explain the difference between abstract class and interface in c++?