What are the differences between a struct in C and in C++?
Answer Posted / anoop chaurasiya
c structure does not support the concept of data hiding but
in approach of c++ class support the concept of data hiding.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
Can we declare a base-class destructor as virtual?
Do you know what is overriding?
What does return 0 do in c++?
What is a vector c++?
Where is atoi defined?
What is expression parser in c++
Is std :: string immutable?
What are the different types of comments allowed in c++?
How can you specify a class in C++?
Why c++ is so important?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
How do I download c++?
Name the operators that cannot be overloaded in C++?
Is c++ still being used?
What are the sizes and ranges of the basic c++ data types?