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
What is ios class in c++?
What is c++ and its uses?
What is difference between class and structure in c++?
What is enum class in c++?
Why is c++ difficult?
What is a .h file c++?
what is C++ objects?
Explain the pure virtual functions?
What is virtual table?
What are maps in c++?
What is #include cstdlib in c++?
How to declare a function pointer?
Explain "const" reference arguments in function?
Why is the function main() special?
What is a .lib file in c++?