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
How is static data member similar to a global variable?
Is string an object in c++?
What is virtual function? Explain with an example
What are register variables?
Which bit wise operator is suitable for putting on a particular bit in a number?
What are compilers in c++?
Explain storage qualifiers in c++.
How is data hiding achieved in c++?
What is called array?
Explain stack unwinding.
Explain function overloading and operator overloading.
What do you mean by enumerated data type?
Which one is a preferred language C or C++? Why?
Can java be faster than c++?
Where can I run c++ program?