Constructors and Destructors - Programs Multiple Questions and Answers.




1.What will be the output of the program?
A. 99.50
B. Garbage value
C. ASCII value of 99
D. 99

2.Which of the following statement is correct about the program given below?
A. The program will print the output Pak
B. The program will print the output Mcqs
C. The program will print the output PakMcqs
D. The program will report compile time error.

3.Which of the following statement is correct about the program given below?
A. The program will print the output 25.
B. The program will print the output Garbage-value.
C. The program will report compile time error.
D. The program will report runtime error.

4.Which of the following statement is correct about the program given below?
A. The program will print the output 5.
B. The program will print the output Garbage-value.
C. The program will report compile time error.
D. The program will report runtime error.

5.What will be the output of the program ?
A. 1234
B. 4321
C. 12344321
D. 12341234




Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers