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
Can you overload the operator+ for short integers?
What are the methods of exporting a function from a dll?
How is modularity introduced in C++?
What is the best c++ book for beginners?
What are c++ data types?
Mention the storage classes in c++.
Where Malloc(), Calloc(), and realloc() does get memory?
Should I learn c or c++ first?
What is a character in c++?
What is a breakpoint?
What is scope operator in c++?
What is the use of class in c++?
What is auto type c++?
What are the characteristics of friend functions?
What is low level language in simple words?