Objects and Classes - Programs Online Exam Quiz

Objects and Classes - Programs GK Quiz. Question and Answers related to Objects and Classes - Programs. MCQ (Multiple Choice Questions with answers about Objects and Classes - Programs

What will be the output of the following program?

Options

A : 10 10 20 20

B : Garbage garbage 20 20

C : 10 10 Garbage garbage

D : Garbage garbage Garbage garbage

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output 0.

B : The program will print the output 33.

C : The program will print the output Garbage.

D : The program will report compile time error.

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output 0.

B : The program will print the output 44.

C : The program will print the output Garbage.

D : The program will report compile time error.

View Answer

What will be the output of the following program?

Options

A : 45 22

B : 46 22

C : 45 23

D : 46 23

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output 0.

B : The program will print the output 22.

C : The program will print the output Garbage.

D : The program will report compile time error.

View Answer

What will be the output of the following program?

Options

A : 0

B : 1

C : -1

D : Garbage value

View Answer

What will be the output of the following program?

Options

A : 2

B : 3

C : 5

D : 8

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output me!.

B : The program will print the output Wel.

C : The program will print the output !em.

D : The program will print the output Welcome!.

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output 1 2 3.

B : The program will print the output 2 3 4 .

C : The program will print the output 4 5 6.

D : The program will report compile time error.

View Answer

Which of the following statement is correct about the program given below?

Options

A : The program will print the output 4 2.5.

B : The program will print the output 4.

C : The program will report runtime error.

D : The program will report compile time error.

View Answer

Constructors and Destructors - General Questions more Online Exam Quiz

Unix - Part 3

Windows 2000 Server - Part 2

Windows NT - Part 2

Constructors and Destructors - Programs

Functions - Programs

References - Programs