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 stacks?
What is c++ course?
Mention the ways in which parameterized can be invoked. Give an example of each.
What is difference between n and endl in c++?
What is c++ virtual inheritance?
Why can’t you call invariants() as the first line of your constructor?
What are structures and unions?
give me an example for testing a program showing the test path .show how the test is important and complex.
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
How many types of scopes are there in c++?
Is c++ an integer?
What are proxy objects in c++?
What do the keywords volatile and mean mutable?
What is a v-table?
What is a singleton c++?