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
What are exceptions c++?
What is private inheritance?
How many keywords are used in c++?
When should we use multiple inheritance?
Describe about storage allocation and scope of global, extern, static, local and register variables?
Explain how an exception handler is defined and invoked in a Program.
What do you mean by translation unit in c++?
How should a contructor handle a failure?
What is unary operator? List out the different operators involved in the unary operator.
Explain class invariant.
What is java and c++?
Which bitwise operator is used to check whether a particular bit is on or off?
Is c++ platform dependent?
When does a 'this' pointer get created?
Is it possible for a member function to use delete this?