Home » C » C Questions
Page 1 of 10 (1- 20)
Question: 1
(A) Yes
(B) No
(C) Depends on Compiler
(D) Yes but run time error
Explanation on:
C Compiler IDE
Level: Expert Category MCQ: structure
Question: 2
(A) extern
(B) auto
(C) register
(D) static
Explanation on:
C Compiler IDE
Level: Expert Category MCQ: storgeclass
Question: 3
(A) 11
(B) 10
(C) Compilation Error
(D) 0
Explanation on:
C Compiler IDE
Level: Beginner Category MCQ: operators
Question: 4
(A) mathio.h
(B) math.h
(C) square.h
(D) stdio.h
C Compiler IDE
Level: Practitioner Category MCQ: function
Question: 5
(A) stdio.h
(B) conio.h
(C) stdlib.h
(D) stdlibio.h
C Compiler IDE
Level: Beginner Category MCQ: function
Question: 6
(A) math.h
(B) mathio.h
(C) string.h
(D) ctype.h
C Compiler IDE
Level: Practitioner Category MCQ: function
Question: 7
(A) 6,6
(B) 6,7
(C) 7,7
(D) 0,0
Explanation on:
C Compiler IDE
Level: Practitioner Category MCQ: function
Question: 9
(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
Explanation on:
C Compiler IDE
Level: Practitioner Category MCQ: function
Question: 12
(A) Compilation Error
(B) Runtime Error
(C) Hello is printed one time
(D) Hello is printed infinite times
Explanation on:
C Compiler IDE
Level: Expert Category MCQ: loops
Question: 13
(A) Compilation Error
(B) Runtime Error
(C) Nothing is printed
(D) Hello is printed infinite times
Explanation on:
C Compiler IDE
Level: Expert Category MCQ: loops
Question: 14
(A) Hello is printed 5 times
(B) Compilation Error
(C) Runtime Error
(D) Hello is printed 4 times
Explanation on:
C Compiler IDE
Level: Expert Category MCQ: loops
Question: 15
(A) Hello is printed 5 times
(B) Compilation Error
(C) Hello is printed 2 times
(D) Hello is printed 3 times
Explanation on:
C Compiler IDE
Level: Expert Category MCQ: loops
Question: 16
(A) 0--01--12--23--34--
(B) 00--10--20--30--40--
(C) Compilation Error
(D) 00--01--02--03--04--
Explanation on:
C Compiler IDE
Level: Expert Category MCQ: loops
Question: 17
(A) 5
(B) 10
(C) 25
(D) 50
Explanation on:
C Compiler IDE
Level: Practitioner Category MCQ: loops
Question: 18
(A) cppbuzz is printed 5 times
(B) Compilation Error
(C) cppbuzz is printed 1 times
(D) Nothing is printed
Explanation on:
C Compiler IDE
Level: Practitioner Category MCQ: loops
Question: 19
(A) 55
(B) 54
(C) 1
(D) 0
Explanation on:
C Compiler IDE
Level: Practitioner Category MCQ: loops
Question: 20
(A) 1 time
(B) Compilation Error
(C) Infinite times
(D) Runtime Error
Explanation on:
C Compiler IDE
Level: Practitioner Category MCQ: loops