Difference between Structure and Class in C++?

Answer Posted / alok

no. we can use the concept of constructor and destruct in c++ structure. one difference is that in c structure and c++ class is structure automatically initialization with zero.

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stl in c++ with example?

632


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

2857


How does an stl file work?

648


What is meant by stl in c++?

652


What are the components of stl?

619






how to making game in c++ ?

2178


write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

2499


What is stl stack?

659


What does stl mean in slang?

649


When did c++ add stl?

732


What are the different types of stl containers?

646


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1698


Explain stl.

902


What is stl stand for?

736


What is stl in oop?

675