Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
11 views
c Programming
C language MCQs format define
Uploaded by
Dipanshu THAKUR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save c Programming For Later
Download
Save
Save c Programming For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
11 views
c Programming
C language MCQs format define
Uploaded by
Dipanshu THAKUR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save c Programming For Later
Carousel Previous
Carousel Next
Save
Save c Programming For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 3
Search
Fullscreen
1) 2) 4) 6.) 7.) 9.) 10.) 11.) 12.) C Programming Multiple Choice Questions Developer of °C’ language is ") a.) Dennis Richie .) Bill Gates b.) Ken Thompson d.) Peter Norton C language developed in . a.) 1970 c.) 1976 b.) 1972 4.) 1980 Cis level language. a.) High c.) Middle b.) Low d.) Machine Cis available for which OS? a.) DOS c.) Unix b.) Windows 4d.) All of above Which symbol is used for pre-processor statement? a)! b)# ©) ~ a); Which of the following is a scalar data type? a.) Float c.) Array b.) Union d.) Pointer Which of the following are tokens in C? a.) Keywords c.) Constants b.) Variables 4.) All of above Which is the valid range of “int” data type? 2.) Oto 256 ¢.) 32767 to +32768 b.) -32768 to +32767 d.) No particular range Which symbol is used to terminate a statement? a)! b.) # a) a); Which escape sequence character is a line terminator? a) \a b.) \b ce) \m 4.) \n Which escape sequence character Is used to beep from speaker? a.) \a b.) \b c.) \m d.) \n Character constants should be enclosed between : a.) Single Quotes ¢.) Both A and B b.) Double Quotes d.) None of these @ scanned with OKEN ScannerString constants should be enclosed between a.) Single Quotes .) Both A and B. b,) Double Quotes d,) None of these Which of the following is invalid? a)r' bys” c) ‘a’ d.) ‘abe’ ‘The maximum length of a variable in Cis . a) 8 b.) 16 c.) 32 d.) 64 ‘The maximum size of ‘float’ variable is . a.) 1byte _b.) 2 bytes c)4 bytes d.) & bytes The maximum size of ‘double’ variable is a.) Lbyte — b.) 2 bytes c.) 4 bytes d.) 8 bytes A declaration of float a; double b; occupies of memory. a.) Lbyte b.) 6 bytes c.) 10 bytes d.) 12 bytes The size of a string variable is___. a.) Lbyte _b,)'10 bytes ©.) 20 bytes.) Not specific Which is an example of compounded assignment statement? 20.) b.)a=b c)asb=c — d.) at=10 a) ‘The operator && is used for 5 a.) Value assignment .) Logical comparison b.) Increment by 1 4.) Condition Checking ‘The operator & is used for .) Pointer to the variable a.) Bitwise AND b,) Logical AND d.) None of these ‘The equality operator is represented by : a) i= BER <= 4) 23.) 24.) Operator's precedence determines which operator is 2.) Faster .) Take no argument b.) Take less memory 4.) Evaluated first ‘The bitwise AND Is used for _- a.) Masking .) Division b,) Comparison 4d.) Shifting bits 25.) ‘The operator << Is used for 5 a.) Shifting bits to lert\ c,) Equality Checking b.) Shifting bits to right d,) None of these Which of the following has the HIGHEST precedence? a) * b.) o) = 4.) + 7S) @ scanned with OKEN Scanner 27.)28.) 29.) 30.) 31.) 32.) 33.) 34.) 35.) 36.) 37.) 38.) 39.) 40.) ‘The associability of = operator is a.) Right to Left @) None of these b.) Left to Right d.) All of above Which operator has LOWEST priority? a) tt b.) % ©) II 40 Which operator has HIGHEST priority? a) 0 byl 6) % 6.) ++ Integer Division results in . a.) Truncating the fractional part c,) Floating value b.) Rounding the fractional part d,) An error is generated Which is a Ternary Operator? a) ?: b)* c) sizeof ds) ‘The typecast operator is __. a.) cast () ©) // b.) (data type) aj"" Explicit type conversion is known as a.) Separation b.) Casting ‘e) Conversion 4.) Disjunction b.) atd=a p++ executes faster than p=p+t because ————______. c) p+ is a single instruction a.) puses registers d.) All of above b.) ++ Is faster than + Which statement Is correct? a.) C Library functions provide b,) C inherent 1/0 facilities ¢.) C doesn’t have 1/0 facilities 4d.) Both (a) and (c) 1/0 facilities Header files in € contain ____— 2.) Compiler Commands @.) Header information of C Programs b.) Library functions d,) Operators for files Which pair Is used for single character 1/0.? a.) getchar() and putchar() ) Input() and output) b.) seanf() and printf() d.) None of these value when an error occurs, ,) Negative Value d.) None of these ‘The printf() returns a.) Positive value b,) Zero Page 3 @ scanned with OKEN Scanner
You might also like
100 Multiple Choice Questions in C Programming MCQs
PDF
83% (6)
100 Multiple Choice Questions in C Programming MCQs
13 pages
Doc
PDF
No ratings yet
Doc
15 pages
BC0034 Computer Concepts & C Programming Paper 1
PDF
No ratings yet
BC0034 Computer Concepts & C Programming Paper 1
13 pages
C MCQ
PDF
No ratings yet
C MCQ
16 pages
200 Multiple Choice Questions in C Programming MCQs
PDF
No ratings yet
200 Multiple Choice Questions in C Programming MCQs
37 pages
Example
PDF
No ratings yet
Example
14 pages
c-mcq_copy
PDF
No ratings yet
c-mcq_copy
12 pages
6102 C Language Mca MCQ
PDF
100% (1)
6102 C Language Mca MCQ
93 pages
C MCQ
PDF
No ratings yet
C MCQ
12 pages
100 MCQ - C Lan Nir
PDF
No ratings yet
100 MCQ - C Lan Nir
12 pages
C One Mark Questions
PDF
No ratings yet
C One Mark Questions
17 pages
C Bits
PDF
No ratings yet
C Bits
15 pages
Dca1102 C Language
PDF
100% (1)
Dca1102 C Language
57 pages
Computer Science (Fe) Mcq's
PDF
100% (1)
Computer Science (Fe) Mcq's
41 pages
(1 Mark Each) : Programming in C
PDF
100% (1)
(1 Mark Each) : Programming in C
12 pages
100 Multiple Choice Questions in C Programming PDF: Eguardian India
PDF
No ratings yet
100 Multiple Choice Questions in C Programming PDF: Eguardian India
29 pages
Solved MCQs ch#6
PDF
No ratings yet
Solved MCQs ch#6
3 pages
Jeca C Test1
PDF
No ratings yet
Jeca C Test1
20 pages
C Question Bank
PDF
No ratings yet
C Question Bank
20 pages
Quiz 3 and 4
PDF
No ratings yet
Quiz 3 and 4
12 pages
C Programming With Algorithms
PDF
No ratings yet
C Programming With Algorithms
33 pages
Answer of Computer Science Question 2021
PDF
No ratings yet
Answer of Computer Science Question 2021
7 pages
Objective CWord
PDF
No ratings yet
Objective CWord
5 pages
C Lang Objective Type Questions
PDF
No ratings yet
C Lang Objective Type Questions
18 pages
MCQs of C
PDF
100% (1)
MCQs of C
21 pages
c programming notes
PDF
No ratings yet
c programming notes
7 pages
Computer Concepts Programming
PDF
No ratings yet
Computer Concepts Programming
51 pages
MCQ
PDF
100% (1)
MCQ
80 pages
PPS Mid 1 Objective 2024
PDF
No ratings yet
PPS Mid 1 Objective 2024
10 pages
CS201 Mcqs MidTerm by Vu Topper RM-1-1
PDF
No ratings yet
CS201 Mcqs MidTerm by Vu Topper RM-1-1
48 pages
C Celect1
PDF
No ratings yet
C Celect1
17 pages
C MCQ's
PDF
No ratings yet
C MCQ's
6 pages
E. None of These
PDF
No ratings yet
E. None of These
7 pages
10th MCQs Ch-1,2,3
PDF
No ratings yet
10th MCQs Ch-1,2,3
8 pages
I BCA-106A - C Programming
PDF
33% (3)
I BCA-106A - C Programming
26 pages
23UCAFC11 - Unit I, II
PDF
No ratings yet
23UCAFC11 - Unit I, II
125 pages
Programming in C Question Bank
PDF
No ratings yet
Programming in C Question Bank
37 pages
STET - 2019: Important Question Based On Exam Pattern
PDF
No ratings yet
STET - 2019: Important Question Based On Exam Pattern
42 pages
2nd year paper
PDF
No ratings yet
2nd year paper
2 pages
C Objective Questions
PDF
No ratings yet
C Objective Questions
2 pages
Past paper McQs set 1
PDF
No ratings yet
Past paper McQs set 1
1 page
Document
PDF
No ratings yet
Document
36 pages
Part I: Multiple Choice Questions: Save Operation 14 B) Fetch Operation C) Control Operation D) Write Operation
PDF
No ratings yet
Part I: Multiple Choice Questions: Save Operation 14 B) Fetch Operation C) Control Operation D) Write Operation
3 pages
C Programming For Engineers IMPORTANT QUESTIONS
PDF
No ratings yet
C Programming For Engineers IMPORTANT QUESTIONS
5 pages
Test Bank for C++ Programming: From Problem Analysis to Program Design, 6th Edition – D.S. Malik - Full Version With All Chapters Is Ready For Download
PDF
100% (11)
Test Bank for C++ Programming: From Problem Analysis to Program Design, 6th Edition – D.S. Malik - Full Version With All Chapters Is Ready For Download
44 pages
C
PDF
40% (5)
C
138 pages
C Mcqs
PDF
100% (3)
C Mcqs
16 pages
Instant Download Test Bank for C++ Programming: From Problem Analysis to Program Design, 6th Edition – D.S. Malik PDF All Chapters
PDF
100% (26)
Instant Download Test Bank for C++ Programming: From Problem Analysis to Program Design, 6th Edition – D.S. Malik PDF All Chapters
43 pages
REVISION SHEET COMP
PDF
No ratings yet
REVISION SHEET COMP
8 pages
MC With Answers
PDF
No ratings yet
MC With Answers
5 pages
Objective Type Question of Computer Science PDF
PDF
No ratings yet
Objective Type Question of Computer Science PDF
281 pages
MCQ's in Computer Science
PDF
0% (1)
MCQ's in Computer Science
281 pages
C MCQS
PDF
No ratings yet
C MCQS
38 pages
MCQ
PDF
No ratings yet
MCQ
36 pages
PPS Bit-Bank
PDF
No ratings yet
PPS Bit-Bank
5 pages
Computer Science HSSC-II Solution
PDF
No ratings yet
Computer Science HSSC-II Solution
12 pages