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 is the difference between interpreters and compilers?
What is the use of function pointer?
Which is better turbo c++ or dev c++?
Write a program to interchange 2 variables without using the third one.
What do you mean by vtable and vptr in c++?
What is encapsulation in C++? Give an example.
What is binary search in c++?
Is there finally in c++?
Differentiate between C and C++.
What is the difference between delegation and implemented-in-terms-of?
What is meant by iomanip in c++?
What is meant by forward referencing and when should it be used?
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
Explain the use of virtual destructor?
what you know about c++?