what is the difference between class and structure in C++?

Answer Posted / naveen tuteja

A structure can't contain the static ans constant variable
but a class can contain both.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long to learn object oriented programming?

786


Which is better struts or spring?

784


What does it mean when someone says I oop?

775


What are the 4 pillars of oop?

856


Can we create object of abstract class?

782






What is polymorphism explain its types?

886


to find out the minimum of two integer number of two different classes using friend function

1843


What are the 5 oop principles?

807


which feature are not hold visual basic of oop?

1914


What does oop mean in snapchat?

897


Please send ford technologies placement paper 2 my mail id

1830


What are constructors in oop?

767


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1848


What is class and object with example?

774


What is the significance of classes in oop?

775