Describe the different styles of function prototypes in C++.
No Answer is Posted For this Question
Be the First to Post Answer
what is a pragma in C++?
What is conversion constructor in C++
How to delete array of objects in C++? Proof by C++ code for proper deletion
Define an Abstract class in C++?
What do you know about Volatile keyword in C++? Explain with an example code.
What does it mean to declare a function or variable as static?
How does stack look in function calls? Write a recursive function call, how will the stack look like?
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?
What is function overloading and operator overloading in C++?
It is possible to build a C++ compiler on top of a C compiler. How would you do this?
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-; } }
What is the difference between realloc() and free() in C++?