What is difference between class and structure in c++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is a local reference?

0 Answers  


Define the operators that can be used with a pointer.

0 Answers  


class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.

2 Answers   Quark,


Describe private, protected and public – the differences and give examples.

0 Answers  


Why did you leave your last job?

2 Answers  






Define basic type of variable used for a different condition in C++?

0 Answers  


Can member data be public?

0 Answers  


what is the C++

1 Answers   Wipro,


Explain the difference between new() and malloc() in c++?

0 Answers  


What is the difference between #define debug 0 and #undef debug?

0 Answers  


please help to write the code of chess game in c++??????????

1 Answers   NEC,


Explain the auto storage classes in c++.

0 Answers  


Categories