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
Write a program using display() function which takes two arguments.
Explain the difference between struct and class in terms of access modifier.
Is python better than c++?
What are the basic data types used in c++?
If dog is a friend of boy, is boy a friend of dog?
Describe friend function & its advantages.
Describe linked list using C++ with an example.
What is c++ map?
What is a tuple c++?
What is polymorphism and its type in c++?
How do you declare a set in c++?
What is a vector c++?
Do you know the problem with overriding functions?
What is the history of c++?
Can class objects be passed as function arguments?