What does it mean to declare a function or variable as static?
Is deconstructor overloading possible? If yes then explain and if no Then why?
Write a syntax and purpose of switch statement.
Can we call a virtual function from a constructor?
What is name mangling/name decoration?
Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }
Write a C++ program to print strings in reverse order.
What are issues if we mix new and free in C++?
What is an abstract class?
What is Copy Constructor?
What are the advantages/disadvantages of using inline and const?
There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?
It is possible to build a C++ compiler on top of a C compiler. How would you do this?