STL (140)
OOPS (873)
C++ General (2409) Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
TCS,
1117
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What are the types of array in c++?
Define stacks. Provide an example where they are useful.
How to invoke a C function using a C++ program?
How do you answer polymorphism?
What does override mean in c++?
Is it possible to get the source code back from binary file?
What is meant by multiple inheritance?
Define a pointer to a data member of the type pointer to pointer?
Why do we use iterators?
Define pure virtual function?
Is c++ a software?
What is a pointer how and when is it used?
Explain one-definition rule (odr).
What are the advantages of inheritance in c++?