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 can I use instead of namespace std?
What is an accessor in c++?
What does scope resolution operator do?
What are the main features of c++?
What is encapsulation in C++? Give an example.
To which numbering system can the binary number 1101100100111100 be easily converted to?
Which programming language's unsatisfactory performance led to the discovery of c++?
State the difference between pre and post increment/decrement operations.
Are there any special rules about inlining?
Explain selection sorting?
Is c++ pass by reference or value?
What are the advantages of early binding?
What is token c++?
Is there any difference between int [] a and int a [] in c++?
What is a flag in c++?