How does free know the size of memory to be deleted
No Answer is Posted For this Question
Be the First to Post Answer
What is C++11?
What are the major differences between C and C++?
What are the advantages/disadvantages of using inline and const?
What is static variable and difference between(const char *p,char const *p,const char* const p).
What do you know about Volatile keyword in C++? Explain with an example code.
In C++ what is the meaning of data hiding?
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 a pointer and a reference?
0 Answers Amazon, Blue Star, C DAC,
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++?
Is deconstructor overloading possible? If yes then explain and if no Then why?
C++ Public access specifier instead of Private – What is bad ?