Control Instructions - Point Out Errors :: Discussion


2.Point out the error, if any in the program?
A.Error: No case statement specified
B.Error: No default specified
C.No Error
D.Error: infinite loop occurs
Answer:  Option  C
Explanation:

There can exists a switch statement, which has no case.

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

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