Control Instructions - Point Out Errors Multiple Questions and Answers.




6.Point out the error, if any in the program?
A. Error: No default value is specified
B. Error: Constant expression required at line case P:
C. Error: There is no break statement in each case.
D. No error

7.Point out the error, if any in the program?
A. Error: in case 1*2+4 statement
B. Error: No default specified
C. Error: in switch statement
D. No Error

8.Point out the error, if any in the while loop?
A. No Error: prints "It works"
B. Error: fun() cannot be accessed
C. Error: goto cannot takeover control to other function
D. No Error

9.Point out the error, if any in the program?
A. 100
B. 300
C. Error: L value required for b
D. Garbage value

«



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