what is the diff b/n c and c++
a. dynamic scoping
b. nested switching
c. declaration of variables in any code block
d. separation of compilation and linking
Answers were Sorted based on User's Feedback
What is recursion?
What is const pointer and const reference?
Explain register storage specifier.
How do you compile the source code with your compiler?
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
Show the declaration for a pointer to function returning long and taking an integer parameter.
You run a shell on unix system. How would you tell which shell are you running?
What are arrays c++?
What is buffer and example?
Why c++ is the best language?
Why should you learn c++?
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.