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
How do I make turbo c++ full screen?
How does code-bloating occur in c++?
What is a c++ vector?
What is a class template in c++?
Is there structure in c++?
What does I ++ mean in c++?
What is meaning of in c++?
Can we use struct in c++?
When there is a global variable and local variable with the same name, how will you access the global variable?
What are the advantage of using register variables?
How to declare an array of pointers to integer?
Explain the use of this pointer?
What is the benefit of c++?
What is malloc in c++?
What is the full name of logo?