Which should be more useful: the protected and public virtuals?
No Answer is Posted For this Question
Be the First to Post Answer
Which software is best for coding?
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.
When volatile can be used?
Difference between class and structure.
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
what is pre-processor in C++?
Explain container class.
What is exception handling? Does c++ support exception handling?
What is the best way to declare and define global variables?
Why is standard template library used?
Differentiate between C and C++.
What is the difference between the compiler and the preprocessor?