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
How can I improve my c++ skills?
What is a string example?
Which function cannot be overloaded c++?
Can notepad ++ run c++?
What is an undefined behavior and sequence points
What is the purpose of ios::basefield in the following statement?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
What sorting algorithm does c++ use?
What is a namespace in c++?
What is the main function c++?
What programming language should I learn first?
Is c++ a good first language to learn?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is abstraction c++?
Define a pointer to a data member of the type pointer to pointer?