100 MCQ on C Programming

Home » C » C MCQs

Page 2 (21 - 40)


Question: 21

(A) Compilation Error
(B) 0
(C) CppBuzz.com
(D) CppBuzz.com11

Compiler
Level: BeginnerCateogry: function
[Posted by: Admin | Chicago, USA]


Question: 22

(A) 3.33
(B) 3.0
(C) 3
(D) 0

Compiler
Level: BeginnerCateogry: datatype
[Posted by: Admin | Chicago, USA]


Question: 23

(A) #include<stdio.h>
(B) return 0
(C) void main(int argc , char ** argv)
(D) None of above

Compiler
Level: BeginnerCateogry: datatype
[Posted by: Admin | Chicago, USA]


Question: 24

(A) 10.5
(B) 10
(C) 0
(D) Compilation Error

Compiler
Level: BeginnerCateogry: datatype
[Posted by: Admin | Chicago, USA]


Question: 25

(A) Compilation Error
(B) Runtime Error
(C) __0
(D) __30

Compiler
Level: ExpertCateogry: datatype
[Posted by: Admin | Chicago, USA]


Question: 26

(A) 0
(B) 15
(C) Undefined i
(D) Any other Compiler Error

Compiler
Level: EXpertCateogry: datatype
[Posted by: Admin | Chicago, USA]


Question: 27

(A) The CppBuzz.com
(B) The C
(C) The CppBuzz
(D) Compilation Error

Compiler
Level: PractitionerCateogry: datatype
[Posted by: Admin | Chicago, USA]


Question: 28

(A) 320
(B) 60
(C) 160
(D) 64

Compiler
Level: PractitionerCateogry: pointers
[Posted by: Admin | Chicago, USA]


Question: 29

(A) 10
(B) 20
(C) 30
(D) Compilation Error

Compiler
Level: ExpertCateogry: operators
[Posted by: Admin | Chicago, USA]


Question: 30

(A) 5 times
(B) 4 times
(C) 2 times
(D) 1 time

Compiler
Level: ExpertCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 31

(A) 4 times
(B) 5 times
(C) 0 time
(D) Infinite times

Compiler
Level: PractitionerCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 32

(A) 1 time
(B) 0 time
(C) Infinite times(Until Stack is overflow)
(D) 2 times

Compiler
Level: BeginnerCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 33

(A) 1 time
(B) Compilation Error
(C) 0 time
(D) Infinite Times(Until Stack Overflows)

Compiler
Level: BeginnerCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 34

(A) 1 time
(B) It depends on the size of int
(C) Infinite Times(Until Stack overflows)
(D) Error

Compiler
Level: BeginnerCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 35

(A) 1 time
(B) 0 time
(C) Infinite Times(Until Stack overflows)
(D) Error: Lvalue Required

Compiler
Level: BeginnerCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 36

(A) 0 time
(B) 1 time
(C) Compilation Error
(D) Infinite times

Compiler
Level: PractitionerCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 37

(A) Nothing is printed on screen
(B) 0 time
(C) 1 time
(D) Infinite times (Untill Stack overflow)

Compiler
Level: PractitionerCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 38

(A) 0 times
(B) Infinite times (Untill Stack is overflow)
(C) 1 time
(D) Nothing is printed

Compiler
Level: ExpertCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 39

(A) CppBuzz.com is printed Infinite times
(B) CppBuzz.com is printed 1 time only
(C) Nothing is printed
(D) Program gives error

Compiler
Level: PractitionerCateogry: loops
[Posted by: Admin | Chicago, USA]


Question: 40

(A) 1 time
(B) 0 time
(C) Compilation/Runtime Error
(D) Blank Screen in Infinite Loop

Compiler
Level: PractitionerCateogry: loops
[Posted by: Admin | Chicago, USA]


C Programming Test
Compile C code here

Browse C Categories

Preprocessor Assembler Compilation Datatypes Arrays Variables Pointers Functions Loops Switch Structures Union Enum Goto & Labels Storage Classes Malloc & free Macros Conditional Operators File Handling gcc Others

Switch to C++ Questions

MCQs

About Us | Contact Us | Privacy Policy | Career  | Online Training
Youtube   LinkedIn   Facebook   Twitter   Instagram  
Copyright©CppBuzz.com
Like many websites, we use cookies to ensure best browsing experience on our website. While using this website, you acknowledge to have read and accepted our cookie and privacy policy.