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

Answer Posted / naveen tuteja

We can declare a structure without a name tag but we cannot
declare a class without name tag.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is inheritance and how many types of inheritance?

812


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

1869


How long to learn object oriented programming?

809


What is the highest level of cohesion?

766


What are properties in oop?

807


What is inheritance write a program to show use of inheritance?

868


What is constructor overloading in oop?

859


what's the basic's in dot net

1922


What are the benefits of interface?

800


What is the use of oops?

796


What is the benefit of oop?

770


What are the 3 principles of oop?

832


What is new keyword in oops?

784


What is advantage of inheritance?

929


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2272