What is the main purpose of overloading operators?
No Answer is Posted For this Question
Be the First to Post Answer
When one must use recursion function? Mention what happens when recursion functions are declared inline?
When can you tell that a memory leak will occur?
Differentiate between late binding and early binding. What are the advantages of early binding?
1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?
What is c++ & why it is used?
What are the five types of inheritance in C++?
What is the iunknown interface?
Does dev c++ support c++ 11?
If there are two catch statements, one for base and one for derived, which should come first?
What issue do auto_ptr objects address?
What are the different types of variables in C++?
Write about all the implicit member functions of a class?