Functions - Programs Online Exam Quiz
Functions - Programs GK Quiz. Question and Answers related to Functions - Programs. MCQ (Multiple Choice Questions with answers about Functions - Programs
What will be the output of the following program?
Options
A : 237
B : 242
C : 240
D : 35
What will be the output of the following program?
Options
A : 8
B : 6
C : -6
D : -8
What will be the output of the following program?
Options
A : a = 20 b = 40
B : a = 20 b = 30
C : a = 20 b = Garbage
D : a = Garbage b = 40
Which of the following statement is correct about the program given below?
Options
A : The program will print the output 10 20.
B : The program will print the output 10 0.
C : The program will print the output 10 garbage.
D : The program will report compile time error.
What will be the output of the following program?
Options
A : 10
B : 20
C : 30
D : 40
Which of the following statement is correct about the program given below?
Options
A : The program will display 1.
B : The program will display 2.
C : The program will display 15.
D : The program will go into an infinite loop.
Which of the following statement is correct about the program given below?
Options
A : The program will print the output 19 31.
B : The program will print the output 20 30.
C : The program will print the output 21 31.
D : The program will print the output 21 29.
What will be the output of the following program?
Options
A : 12 12
B : 12 18
C : 3 14
D : 18 12
Which of the following statement is correct about the program given below?
Options
A : The program will print the output 5.
B : The program will print the output 8.
C : The program will print the output 40.
D : The program will report compile time error.
What will be the output of the following program?
Options
A : 0
B : 5
C : 100
D : -5
Constructors and Destructors - General Questions more Online Exam Quiz
Constructors and Destructors - Programs