ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ C LANGUAGE - JUMPING STATEMENT MCQ Questions
English
Hindi
Question No. -
01
Report Bug
Which of the following is correct with respect to “Jump Statements” in C?
Which of the following is correct with respect to “Jump Statements” in C?
A.
goto
B.
continue
C.
break
D.
All of the above
Question No. -
02
Report Bug
Which keyword can be used for coming out of from function?
Which keyword can be used for coming out of from function?
A.
break
B.
return
C.
exit
D.
Both (a) and (b)
Question No. -
03
Report Bug
The keyword ‘break’ cannot be simply used within:
The keyword ‘break’ cannot be simply used within:
A.
do-while
B.
if-else
C.
for
D.
while
Question No. -
04
Report Bug
Which keyword is used to come out of a loop only for that iteration?
Which keyword is used to come out of a loop only for that iteration?
A.
break
B.
continue
C.
return
D.
None of the mentioned
Question No. -
05
Report Bug
The continue statement cannot be used with
The continue statement cannot be used with
A.
for
B.
while
C.
do while
D.
switch
Explanation
continue is used to skip the statement and can not be used with switch
Question No. -
06
Report Bug
goto can be used to jump from main to within a function?
goto can be used to jump from main to within a function?
A.
TRUE
सही
B.
FALSE
गलत
Explanation
goto statement in C programming provides an unconditional jump from the 'goto' to a labeled statement in the same function.
Question No. -
07
Report Bug
A labeled statement consist of an identifier followed by
A labeled statement consist of an identifier followed by
A.
;
B.
:
C.
,
D.
=
Explanation
The label is an identifier. When goto statement is encountered, control of the program jumps to label: and starts executing the code.
Question No. -
08
Report Bug
Using goto inside for loop is equivalent to using
Using goto inside for loop is equivalent to using
A.
Continue
B.
Break
C.
Return
D.
None of the above
Explanation
Goto statement is rarely used in loops,we can not use continue,break & return instead of goto.
Question No. -
09
Report Bug
Which command is used to skip the rest of a loop and carry on from the top of the loop again?
Which command is used to skip the rest of a loop and carry on from the top of the loop again?
A.
break
B.
resume
C.
continue
D.
skip
Question No. -
10
Report Bug
The control automatically passes to the first statement after the loop in
The control automatically passes to the first statement after the loop in
The control automatically passes to the first statement after the loop in
A.
continue statement
B.
break statement
C.
switch statement
D.
if statement
1
2
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad