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. -
401
Report Bug
If storage class is not specified for a local variable, then the default class will be auto.
यदि स्थानीय चर के लिए भंडारण वर्ग निर्दिष्ट नहीं है, तो डिफ़ॉल्ट वर्ग ऑटो होगा।
यदि स्थानीय चर के लिए भंडारण वर्ग निर्दिष्ट नहीं है, तो डिफ़ॉल्ट वर्ग ऑटो होगा।
A.
True
B.
False
C.
Depends on the standard
D.
None of the mentioned
Question No. -
402
Report Bug
Automatic variables are stored in
स्वचालित चर अंदर संग्रहीत किए जाते हैं
स्वचालित चर अंदर संग्रहीत किए जाते हैं
A.
stack
B.
data segment
C.
register
D.
heap
Question No. -
403
Report Bug
Automatic variables are
Automatic variables are
Automatic variables are
A.
Declared within the scope of a block, usually a function
B.
Declared outside all functions
C.
Declared with the auto keyword
D.
Declared within the keyword extern
Question No. -
404
Report Bug
What is the scope of an automatic variable?
स्वचालित चर का दायरा क्या है?
स्वचालित चर का दायरा क्या है?
A.
Exist only within that scope in which it is declared
B.
Cease to exist after the block is exited
C.
Exist only within that scope in which it is declared & exist after the block is
exited
D.
All of the mentioned
Question No. -
405
Report Bug
Automatic variables are allocated memory in
स्वचालित चर को स्मृति में आवंटित किया जाता है
स्वचालित चर को स्मृति में आवंटित किया जाता है
A.
heap
B.
Data segment
C.
Code segment
D.
stack
Question No. -
406
Report Bug
Automatic variables are initialized to
स्वचालित चर को प्रारंभ किया जाता है
स्वचालित चर को प्रारंभ किया जाता है
A.
Zero
B.
Junk value
C.
Nothing
D.
Both Zero & Junk value
Question No. -
407
Report Bug
Which of the following storage class supports char data type?
निम्नलिखित में से कौन सा संग्रहण वर्ग चार डेटा प्रकार का समर्थन करता है?
निम्नलिखित में से कौन सा संग्रहण वर्ग चार डेटा प्रकार का समर्थन करता है?
A.
register
B.
static
C.
auto
D.
all of the mentioned
Question No. -
408
Report Bug
A local variable declaration with no storage class specified is by default
कोई भंडारण वर्ग निर्दिष्ट नहीं के साथ एक स्थानीय चर घोषणा डिफ़ॉल्ट रूप से है
कोई भंडारण वर्ग निर्दिष्ट नहीं के साथ एक स्थानीय चर घोषणा डिफ़ॉल्ट रूप से है
A.
auto
B.
extern
C.
static
D.
register
Question No. -
409
Report Bug
Choose a correct statement about a C Switch Construct.
Choose a correct statement about a C Switch Construct.
A.
default case is optional inside switch.
B.
break; causes the control to exit the switch immediately and avoid fall down to
other CASE statements.
C.
You can not use duplicate CASE Constants inside a Switch construct.
D.
All the above.
Question No. -
410
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. -
411
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. -
412
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. -
413
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. -
414
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. -
415
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. -
416
Report Bug
Switch statement accepts.
Switch statement accepts.
A.
int
B.
char
C.
long
D.
All of the above
Explanation
switch statment accepts all int , char and long .
Question No. -
417
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. -
418
Report Bug
For loop in a C program, if the condition is missing?
For loop in a C program, if the condition is missing?
A.
it is assumed to be present and taken to be false
B.
it is assumed to be present and taken to the true
C.
it result in a syntax error
D.
execution will be terminated abruptly
Question No. -
419
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. -
420
Report Bug
If switch feature is used, then
If switch feature is used, then
A.
Default case must be present
B.
Default case, if used, should be the last case
C.
Default case, if used, can be placed anywhere
D.
None of the above
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