what is a class? Explain with an example.


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

Post New Answer

More C++ General Interview Questions

When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


Difference between const char* p and char const* p?

1 Answers  


Can we use this pointer in a class specific, operator-overloading function for new operator?

0 Answers  


which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?

0 Answers  


Difference between pointer to constant vs. Pointer constant

0 Answers  






What is c++ library?

0 Answers  


What are the four partitions in which c++ compiler divides the ram?

0 Answers  


What is the difference between a class and a structure in C++?

1 Answers  


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

0 Answers  


Explain the different access specifiers for the class member in c++.

0 Answers  


What is the basic of c++?

0 Answers  


How const functions will be treated by compiler?

3 Answers   Symphony,


Categories