Declarations and Initializations - Find Output of Program Multiple Questions and Answers.




11.In the following program how long will the for loop get executed?
A. The for loop would not get executed at all
B. The for loop would get executed only once
C. The for loop would get executed 5 times
D. The for loop would get executed infinite times

12.What will be the output of the program?
A. 40 40
B. 20 40
C. 20
D. Error

«



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