Que. 1 : What is memory leaking in C++ ?
Ans : A memory leak is the situation that occurs when dynamically allocation is used u\without handling properly.
Que. 2 : In C++ have a default constructor?
(Ans : Yes, compiler creates the default
constructor only and only if the class doesn’t contain any constructor.
(Que. 3 : What is inline function in C++?
(Ans : Inline is a new topic in C++, When we initialize a function inline and call it in main() then instead of moving the control from calling function to called function, the function body will include at the function calling. Main purpose of Inline function is to improve the program performance. It is recommended not to use inline with long code programs.
Que. 4 : What are the things contains in .obj file ?
Ans : A memory leak is the situation that occurs when dynamically allocation is used u\without handling properly.
Que. 2 : In C++ have a default constructor?
(Ans : Yes, compiler creates the default
constructor only and only if the class doesn’t contain any constructor.
(Que. 3 : What is inline function in C++?
(Ans : Inline is a new topic in C++, When we initialize a function inline and call it in main() then instead of moving the control from calling function to called function, the function body will include at the function calling. Main purpose of Inline function is to improve the program performance. It is recommended not to use inline with long code programs.
Que. 4 : What are the things contains in .obj file ?