C++ Language Interview Questions for Experienced Pdf - 1

Question: 1

What are the different statements in C++?

The different statements in C++ are :

Input/output,

Declaration,

Assignment,

Control structures,

Function call,

Object message and

Return

 

Question: 2

What is the use of declaration statements?

Declaration statements are used to declare user defined data type identifiers, function headers, pointer variables and the like.

Question: 3

What is Break statement?

A loop’s execution is terminated when the test condition evaluates to false.

Under certain situations one desires to terminate the loop, irrespective of the test expression.

Question: 4

What are the three kinds of loops in C++?

There are three kinds of loops in C++,

for loop,

while loop and

do.. while loop.

Question: 5

What are the essential functions of any computer program?

Input /Output statements reading data, processing data and displaying information are the essential functions of any computer program.

Error Report!

Related Questions