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 does asterisk mean in c++?
Where can I run c++ program?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
Explain dangling pointer.
What is operators in c++?
What are virtual functions in c++?
What are references in c++? What is a local reference?
Difference between declaration and definition of a variable.
Is there a sort function in c++?
Can you please explain the difference between overloading and overriding?
What are pointer-to-members? Explain.
Which of the following is evaluated first: a) && b) || c) !
What is tellg () in c++?
Difference between struct and class in terms of access modifier.
What is math h in c++?