Home » C » C MCQs
Page 1 (1 - 20)
Question: 1
(A) 1 time
(B) Compilation Error
(C) Infinite times
(D) Runtime Error
Compiler
Level: PractitionerCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 2
(A) 55
(B) 54
(C) 1
(D) 0
Compiler
Level: PractitionerCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 3
(A) cppbuzz is printed 5 times
(B) Compilation Error
(C) cppbuzz is printed 1 times
(D) Nothing is printed
Compiler
Level: PractitionerCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 4
(A) 5
(B) 10
(C) 25
(D) 50
Compiler
Level: PractitionerCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 5
(A) 0--01--12--23--34--
(B) 00--10--20--30--40--
(C) Compilation Error
(D) 00--01--02--03--04--
Compiler
Level: ExpertCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 6
(A) Hello is printed 5 times
(B) Compilation Error
(C) Hello is printed 2 times
(D) Hello is printed 3 times
Compiler
Level: ExpertCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 7
(A) Hello is printed 5 times
(B) Compilation Error
(C) Runtime Error
(D) Hello is printed 4 times
Compiler
Level: ExpertCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 8
(A) Compilation Error
(B) Runtime Error
(C) Nothing is printed
(D) Hello is printed infinite times
Compiler
Level: ExpertCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 9
(A) Compilation Error
(B) Runtime Error
(C) Hello is printed one time
(D) Hello is printed infinite times
Compiler
Level: ExpertCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 10
(A) 2
(B) 3
(C) 4
(D) 1
Compiler
Level: BeginnerCategory: loops
[Posted by: Admin | Chicago, USA]
Question: 11
(A) 1970
(B) 1972
(C) 1978
(D) 1979
Compiler
Level: BeginnerCategory: other
[Posted by: Admin | Chicago, USA]
Question: 12
(A) sum is function which takes int arguments
(B) sum is a function which takes two int arguments and returns void
(C) it will produce compilation error
(D) Can't comment
Compiler
Level: PractitionerCategory: function
[Posted by: Admin | Chicago, USA]
Question: 13
(A) Yes
(B) No
Compiler
Level: PractitionerCategory: function
[Posted by: Admin | Chicago, USA]
Question: 14
(A) 6,6
(B) 6,7
(C) 7,7
(D) 0,0
Compiler
Level: PractitionerCategory: function
[Posted by: Admin | Chicago, USA]
Question: 15
(A) math.h
(B) mathio.h
(C) string.h
(D) ctype.h
Compiler
Level: PractitionerCategory: function
[Posted by: Admin | Chicago, USA]
Question: 16
(A) stdio.h
(B) conio.h
(C) stdlib.h
(D) stdlibio.h
Compiler
Level: BeginnerCategory: function
[Posted by: Admin | Chicago, USA]
Question: 17
(A) mathio.h
(B) math.h
(C) square.h
(D) stdio.h
Compiler
Level: PractitionerCategory: function
[Posted by: Admin | Chicago, USA]
Question: 18
(A) 11
(B) 10
(C) Compilation Error
(D) 0
Compiler
Level: BeginnerCategory: operators
[Posted by: Admin | Chicago, USA]
Question: 19
(A) extern
(B) auto
(C) register
(D) static
Compiler
Level: ExpertCategory: storgeclass
[Posted by: Admin | Chicago, USA]
Question: 20
(A) Yes
(B) No
(C) Depends on Compiler
(D) Yes but run time error
Compiler
Level: ExpertCategory: structure
[Posted by: Admin | Chicago, USA]