C Objective Questions for Experts

Home » C » Questions for Experts

Question: 1

(A) Yes
(B) No
(C) Depends on Compiler
(D) Yes but run time error

Compiler
Level: Expert Category of MCQ: structure

Question: 2

(A) extern
(B) auto
(C) register
(D) static

Compiler
Level: Expert Category of MCQ: storgeclass

Question: 3

(A) Compilation Error
(B) Runtime Error
(C) Hello is printed one time
(D) Hello is printed infinite times

Compiler
Level: Expert Category of MCQ: loops

Question: 4

(A) Compilation Error
(B) Runtime Error
(C) Nothing is printed
(D) Hello is printed infinite times

Compiler
Level: Expert Category of MCQ: loops

Question: 5

(A) Hello is printed 5 times
(B) Compilation Error
(C) Runtime Error
(D) Hello is printed 4 times

Compiler
Level: Expert Category of MCQ: loops

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: Expert Category of MCQ: loops

Question: 7

(A) 0--01--12--23--34--
(B) 00--10--20--30--40--
(C) Compilation Error
(D) 00--01--02--03--04--

Compiler
Level: Expert Category of MCQ: loops

Question: 8

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

Compiler
Level: Expert Category of MCQ: loops

Question: 9

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

Compiler
Level: Expert Category of MCQ: loops

Question: 10

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

Compiler
Level: Expert Category of MCQ: operators

Question: 11

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

Compiler
Level: EXpert Category of MCQ: datatype

Question: 12

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

Compiler
Level: Expert Category of MCQ: datatype

Question: 13

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

Compiler
Level: Expert Category of MCQ: datatype

Question: 14

(A) Operator
(B) Function
(C) Macro
(D) None of these

Compiler
Level: Expert Category of MCQ: operators

Question: 15

(A) Yes
(B) No

Compiler
Level: Expert Category of MCQ: filehandling

Question: 16

(A) 1
(B) 2
(C) 0
(D) Compilation Error

Compiler
Level: Expert Category of MCQ: conditional

Question: 17

(A) 1234
(B) 12340
(C) 123
(D) 0

Compiler
Level: Expert Category of MCQ: function

Question: 18

(A) 0
(B) 23.5
(C) 23.450000
(D) 23.4

Compiler
Level: Expert Category of MCQ: function

Question: 19

(A) CppBuzz10
(B) CppBuzz-10
(C) CppBuzz 10
(D) Compilation Error

Compiler
Level: Expert Category of MCQ: function

Question: 20

(A) a
(B) %a
(C) %%
(D) %

Compiler
Level: Expert Category of MCQ: function

Question: 21

(A) Linker
(B) Compiler
(C) Assembler
(D) Preprocessor

Compiler
Level: Expert Category of MCQ: preprocessor

Question: 22

(A) .h
(B) .exe
(C) .i
(D) .asm

Compiler
Level: Expert Category of MCQ: preprocessor

Question: 23

(A) Yes
(B) No

Compiler
Level: Expert Category of MCQ: preprocessor

Question: 24

(A) #include<stdio.h>
(B) #include"stdio.h"
(C) Both A & B

Compiler
Level: Expert Category of MCQ: datatype

Question: 25

(A) #pragma
(B) #error
(C) #ifndef
(D) #elseif

Compiler
Level: Expert Category of MCQ: macros

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.