When does the c++ compiler create temporary variables?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
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.
What is prototype in c++ with example?
Why is c++ still best?
Can inline functions have a recursion? Give the reason?
Can java be faster than c++?
If a function doesn’t return a value, how do you declare the function?
Why is the function main() special?
What is the difference between object-oriented programming and procedural programming?
What is the difference between new/delete and malloc/free?
What is a storage class?
Is c++ still in demand?