C++ Language Interview Questions for Experienced Pdf - 3

Question: 11

What is the use of cout object?

Cout pronounced as (C out) is a predefined object of standard output stream.

The standard output stream normally flows to the screen display- although it can be redirected to several other output devices.

Question: 12

What is istream.h and ostream.h?

The declarations for the object cin are available in a header file called as istream.h .

The basic input/output operations are managed by a set of declarations available in the istream.h and ostream.h header files.

Iostream.h file comprises the combined properties of istream and ostream.

Question: 13

What is continue statement?

The continue statement forces the next iteration of the loop to take place, skipping any code following the continue statement in the loop body.

Question: 14

What is for loop?

For (;;) .. loop: is an entry controlled loop and is used when an action is to be repeated for a predetermined number of times.

Related Questions