What is object in c++ example?
No Answer is Posted For this Question
Be the First to Post Answer
what is the use of templates?
What is the syntax for a for loop?
Explain static and dynamic memory allocation with an example each.
What are the differences between java and c++?
Why is c++ awesome?
Explain how to initialize a const member data.
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
What is the v-ptr?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
what is COPY CONSTRUCTOR and what is it used for?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
Distinguish between a # include and #define.