ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ C LANGUAGE QUIZ C LANGUAGE MCQ Questions C LANGUAGE Questions Answer for Interview
English
Hindi
Question No. -
421
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. -
422
Report Bug
The type of the controlling expression of a switch statement cannot be of the type ........
The type of the controlling expression of a switch statement cannot be of the type ........
A.
int
B.
char
C.
short
D.
float
Question No. -
423
Report Bug
Which is not a loop structure?
Which is not a loop structure?
A.
For
B.
Do while
C.
do For
D.
While
Question No. -
424
Report Bug
How many times is a do while loop guaranteed to loop?
How many times is a do while loop guaranteed to loop?
A.
0
B.
Infinitely
C.
1
D.
Variable
Question No. -
425
Report Bug
What is required to avoid falling through from one case to the next?
What is required to avoid falling through from one case to the next?
A.
end;
B.
break;
C.
Stop;
D.
A semicolon.
Question No. -
426
Report Bug
Which of the following accesses a variable in structure b?
Which of the following accesses a variable in structure b?
A.
b->var;
B.
b.var;
C.
b-var;
D.
b>var;
Explanation
.(dot) is used to access the member of structure.
Question No. -
427
Report Bug
Which of the following accesses a variable in a pointer to a structure, *b?
Which of the following accesses a variable in a pointer to a structure, *b?
A.
b->var;
B.
b.var;
C.
b-var;
D.
b>var;
Explanation
-> (Arrow) operator is used to access data member of structure using Pointer
Question No. -
428
Report Bug
Which of the following is a properly defined struct?
Which of the following is a properly defined struct?
A.
struct {int a;}
B.
struct a_struct {int a;}
C.
struct a_struct int a;
D.
struct a_struct {int a;};
Question No. -
429
Report Bug
Which properly declares a variable of struct Student?
Which properly declares a variable of struct Student?
A.
struct stu;
B.
struct Student stu;
C.
stu;
D.
int stu
Question No. -
430
Report Bug
printf ("%d", printf ("infomax"));
printf ("%d", printf ("infomax"));
A.
results in a syntax error
B.
output Infomax7
C.
outputs garbage
D.
outputs infomax and terminates abruptly
Explanation
printf statement will print infomax7, “infomax” due to inner printf statement and 7 as length due to outer printf statement.
Question No. -
431
Report Bug
A self contained block of statements that perform a coherent task of some kind is called a
A self contained block of statements that perform a coherent task of some kind is called a
A self contained block of statements that perform a coherent task of some kind is called a
A.
Monitor
B.
Function
C.
Program
D.
Structure
Question No. -
432
Report Bug
The loop in which the statements within the loop are executed at least once is called
The loop in which the statements within the loop are executed at least once is called
The loop in which the statements within the loop are executed at least once is called
A.
do-while
B.
while
C.
for
D.
goto
Question No. -
433
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
Question No. -
434
Report Bug
Recursion is sometimes called
Recursion is sometimes called
Recursion is sometimes called
A.
Circular definition
B.
Complex definition
C.
Procedure
D.
Union
Question No. -
435
Report Bug
The value that follows the keyword CASE may only be
The value that follows the keyword CASE may only be
The value that follows the keyword CASE may only be
A.
constants
B.
variable
C.
Text
D.
String
Question No. -
436
Report Bug
The statement which is used to terminate the control from the loop is
The statement which is used to terminate the control from the loop is
The statement which is used to terminate the control from the loop is
A.
break
B.
continue
C.
goto
D.
exit
Question No. -
437
Report Bug
The machine registers are sometimes called
The machine registers are sometimes called
The machine registers are sometimes called
A.
local variables
B.
global variables
C.
accumulators
D.
static variables
Question No. -
438
Report Bug
Set of values of the same type, which have a single name followed by an index is called
Set of values of the same type, which have a single name followed by an index is called
Set of values of the same type, which have a single name followed by an index is called
A.
function
B.
structure
C.
array
D.
union
Question No. -
439
Report Bug
An array of pointers is same as
An array of pointers is same as
An array of pointers is same as
A.
pointer to array
B.
pointers to pointers
C.
pointer to function
D.
pointer to structure
Question No. -
440
Report Bug
The name of all functions end with a
The name of all functions end with a
The name of all functions end with a
A.
pair of parenthesis
B.
semicolon
C.
braces
D.
colon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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