What are the classes in c++?


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

Post New Answer

More C++ General Interview Questions

Define a nested class. Explain how it can be useful.

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,


Why are pointers used?

0 Answers  


What is compilation?

1 Answers   Datamatics, TCS,


What is static in c++?

0 Answers  






What happens if a pointer is deleted twice?

0 Answers   Flextronics,


Name the debugging methods that are used to solve problems?

0 Answers  


Can we overload operator in c++?

0 Answers  


Differentiate between a deep copy and a shallow copy?

1 Answers  


How would you use the functions randomize() and random()?

0 Answers  


What is token c++?

0 Answers  


What is the extraction operator and what does it do?

0 Answers  


Categories