C interview questions – page 66
2,130 questions. Tap “Show answer” to check yourself.
-
Explain a copy constructor?
-
Define a class template?
-
How can we catch all kind of exceptions in a single catch block?
-
Explain a static variable?
-
What is the meaning of base address of the array?
-
Explain command line arguments?
-
What is the purpose of external storage specifier?
-
Define the scope resolution operator?
-
What is keyword auto for?
-
What do you mean by the block scope variable in C++?
-
Describe a namespace?
-
What is viscosity?
- Advertisement
-
Describe command line arguments?
-
Where an automatic variable is stored? Define is a container class?
-
Can a program be compiled without main() function?
-
Which operator can be used to determine the size of a data type/class or variable/object?
-
When should we use the register storage specifier?
-
What are the different ways of passing parameters to the functions?
-
Which compiler switch to be used for compiling the programs using math library with g++ compiler?
-
Explain a preprocessor?
-
Define a token?
-
List out the available modes of inheritance to inherit one class from another?
-
You put a glass of water on a record turntable and begin slowly increasing the speed. What happens first - does the glass slide off, tip over, or does the water splash out?
-
You’re in a row boat, which is in a large tank filled with water. You have an anchor on board, which you throw overboard (the chain is long enough so the anchor rests completely on the bottom of the tank). Does the water level in the tank rise or fall?
- Advertisement
-
Can we re size the allocated memory which was allocated using 'new' operator?
-
What do you mean by the default function call method?
-
Is it legal to assign a base class object to a derived class pointer?
-
Tell the difference between delete and delete[]?
-
What is the first string in the argument vector w.r.t command line arguments?
-
How can we refer to the global variable if the local and the global variable names are same?