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
How is computer programming useful in real life?
Explain differences between new() and delete()?
Describe linked list using C++ with an example.
Is c++ a dying language?
What is the role of copy constructor in copying of thrown objects?
Const char *p , char const *p What is the difference between the above two?
What is the main purpose of c++?
What is iomanip c++?
Are php strings immutable?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
What is searching?
Why is c++ still best?
What does new do in c++?
Explain what you mean by a pointer.
What is main function in c++ with example?