What are the differences between a struct and a class in
C++?
Answer Posted / supriya
Memory is alloated on Stack using Structure whereas in class its heap , that is it wont be stored at an contagious memory location.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Describe about storage allocation and scope of global, extern, static, local and register variables?
what are the iterator and generic algorithms.
What are the advantages of using typedef in a program?
What is the full form of ios?
What are the types of container classes?
What is token c++?
What are manipulators used for?
What are register variables?
Describe the process of creation and destruction of a derived class object?
What are the two main components of c++?
What is class in c++ with example?
What is the role of C++ shorthand's?
What is a c++ map?
Write about the scope resolution operator?
What's the order in which the local objects are destructed?