C Objective Questions for Beginners

Home » C » Questions for Beginners

Question: 26

(A) Yes
(B) No

Compiler
Level: Beginner Category of MCQ: preprocessor

Question: 27

(A) It converts source code into assembly code
(B) It converts a assembly language program into machine language
(C) It convert code generated by Preprocessor to assembly code
(D) None of the above

Compiler
Level: Beginner Category of MCQ: gcc

Question: 28

(A) 10
(B) @10
(C) 10@
(D) Compilation Error

Compiler
Level: Beginner Category of MCQ: variables

Question: 29

(A) Compilation Error
(B) 10
(C) __10
(D) __a

Compiler
Level: Beginner Category of MCQ: variables

Question: 30

(A) 20
(B) Ambiguity Error
(C) 10
(D) 0

Compiler
Level: Beginner Category of MCQ: variables

Question: 31

(A) 10
(B) 20
(C) ::20
(D) ::10

Compiler
Level: Beginner Category of MCQ: variables

Question: 32

(A) 1020
(B) 1010
(C) 2020
(D) Error: Redeclartion of a

Compiler
Level: Beginner Category of MCQ: variables

Question: 33

(A) 10
(B) 10@
(C) @
(D) [Error] stray '@' in program

Compiler
Level: Beginner Category of MCQ: variables

Question: 34

(A) .a
(B) .exe
(C) .out
(D) .obj

Compiler
Level: Beginner Category of MCQ: compilation

Question: 35

(A) .a
(B) a.obj
(C) a.exe
(D) a.out

Compiler
Level: Beginner Category of MCQ: compilation

Question: 36

(A) Ten
(B) Twenty
(C) Thirty
(D) Nothing

Compiler
Level: Beginner Category of MCQ: switch

Question: 37

(A) Ten
(B) TenTwenty
(C) Twenty
(D) nothing

Compiler
Level: Beginner Category of MCQ: switch

Question: 38

(A) C
(B) 68
(C) D
(D) 67

Compiler
Level: Beginner Category of MCQ: loops

Question: 39

(A) i love u 30
(B) i hate u 0
(C) i love u 10
(D) i hate u 30

Compiler
Level: Beginner Category of MCQ: conditional

Question: 40

(A) 1
(B) 1.0
(C) 1.0000
(D) 1.000000

Compiler
Level: Beginner Category of MCQ: datatype

Question: 41

(A) unary
(B) shift
(C) equality
(D) postfix

Compiler
Level: Beginner Category of MCQ: operators

Question: 42

(A) cppbuzz7
(B) 7cppbuzz
(C) cppbuzz8
(D) 8cppbuzz

Compiler
Level: Beginner Category of MCQ: structure

Question: 43

(A) Yes
(B) No

Compiler
Level: Beginner Category of MCQ: structure

Question: 44

(A) 17
(B) 23
(C) 24
(D) 18

Compiler
Level: Beginner Category of MCQ: loops

Question: 45

(A) 150
(B) 168
(C) 195
(D) 252

Compiler
Level: Beginner Category of MCQ: loops

Question: 46

(A) 10
(B) 20
(C) 11
(D) 21

Compiler
Level: Beginner Category of MCQ: loops

Question: 47

(A) Generates an error message
(B) Extra values are being ignored
(C) Size of Array is increased
(D) Size is neglected when values are given

Compiler
Level: Beginner Category of MCQ: arrays

Question: 48

(A) character
(B) integer
(C) Unsigned character
(D) All of these

Compiler
Level: Beginner Category of MCQ: pointers

Question: 49

(A) Allocated memory has undefined value
(B) It returns pointer to the allocated space
(C) Pointer is NULL if memory is not allcoated
(D) It doesn't lead to memory leak if memory is not de allocated

Compiler
Level: Beginner Category of MCQ: malloc_free

Question: 50

(A) ptr is not a pointer
(B) ptr is a pointer to pointer
(C) Such statement no allowed in C
(D) None of these

Compiler
Level: Beginner Category of MCQ: pointers

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.