What is the Difference between "C structure" and "C++
structure"?
Answer Posted / jayesh pawar
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 ? | 9 Yes | 3 No |
Post New Answer View All Answers
Are there any special rules about inlining?
What is the size of integer variable?
Can we delete this pointer in c++?
What is pointer to array in c++?
What character terminates all character array strings a) b) . c) END
Define a constructor?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
Is dev c++ free?
Difference between overloaded functions and overridden functions
What is std :: endl?
What is command line arguments in C++? What are its uses? Where we have to use this?
Can you overload the operator+ for short integers?
Define Virtual function in C++.
How do you initialize a string in c++?
Is c# written in c++?