Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux & Javascript!  

CppBuzz.com
  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux

You are here : Home » C Objective Questions for Experts

C Objective Questions for Experts: 43 Questions


Question: 1

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

Expert structure Compile it[Posted by: Admin | Chicago, USA]



Question: 2

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

Expert storgeclass Compile it[Posted by: Admin | Chicago, USA]



Question: 3

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

Expert loops Compile it[Posted by: Admin | Chicago, USA]



Question: 4

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

Expert loops Compile it[Posted by: Admin | Chicago, USA]



Question: 5

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

Expert loops Compile it[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

Expert loops Compile it[Posted by: Admin | Chicago, USA]



Question: 7

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

Expert loops Compile it[Posted by: Admin | Chicago, USA]



Question: 8

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

Expert loops Compile it[Posted by: Admin | Chicago, USA]



Question: 9

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

Expert loops Compile it[Posted by: Admin | Chicago, USA]



Question: 10

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

Expert operators Compile it[Posted by: Admin | Chicago, USA]



Question: 11

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

EXpert datatype Compile it[Posted by: Admin | Chicago, USA]



Question: 12

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

Expert datatype Compile it[Posted by: Admin | Chicago, USA]



Question: 13

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

Expert datatype Compile it[Posted by: Admin | Chicago, USA]



Question: 14

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

Expert operators Compile it[Posted by: Admin | Chicago, USA]



Question: 15

(A) Yes
(B) No

Expert filehandling Compile it[Posted by: Admin | Chicago, USA]



Question: 16

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

Expert conditional Compile it[Posted by: Admin | Chicago, USA]



Question: 17

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

Expert function Compile it[Posted by: Admin | Chicago, USA]



Question: 18

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

Expert function Compile it[Posted by: Admin | Chicago, USA]



Question: 19

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

Expert function Compile it[Posted by: Admin | Chicago, USA]



Question: 20

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

Expert function Compile it[Posted by: Admin | Chicago, USA]



Question: 21

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

Expert preprocessor Compile it[Posted by: Admin | Chicago, USA]



Question: 22

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

Expert preprocessor Compile it[Posted by: Admin | Chicago, USA]



Question: 23

(A) Yes
(B) No

Expert preprocessor Compile it[Posted by: Admin | Chicago, USA]



Question: 24

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

Expert datatype Compile it[Posted by: Admin | Chicago, USA]



Question: 25

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

Expert macros Compile it[Posted by: Admin | Chicago, USA]



Question: 26

(A) -asm
(B) -S
(C) -o
(D) -c

Expert gcc Compile it[Posted by: Admin | Chicago, USA]



Question: 27

(A) __asm__
(B) _asm_
(C) __asm
(D) asm

Expert gcc Compile it[Posted by: Admin | Chicago, USA]



Question: 28

(A) __asm__
(B) _asm_
(C) __asm
(D) asm

Expert gcc Compile it[Posted by: Admin | Chicago, USA]



Question: 29

(A) gcc -o cppbuzz.c
(B) gcc -c cppbuzz.c
(C) gcc -e cppbuzz.c
(D) gcc cppbuzz.c

Expert gcc Compile it[Posted by: Admin | Chicago, USA]



Question: 30

(A) gcc -g
(B) gcc -a
(C) gcc -e
(D) gcc -b

Expert gcc Compile it[Posted by: Admin | Chicago, USA]



Question: 31

(A) gcc -g0
(B) gcc -g1
(C) gcc -g
(D) gcc -g3

Expert gcc Compile it[Posted by: Admin | Chicago, USA]



Question: 32

(A) gcc -W
(B) gcc -w
(C) gcc -Wall
(D) gcc - wall

Expert gcc Compile it[Posted by: Admin | Chicago, USA]



Question: 33

(A) D-Q
(B) D-A
(C) 67-112
(D) 68-113

Expert arrays Compile it[Posted by: Admin | Chicago, USA]



Question: 34

(A) Kernig
(B) ernigh
(C) Kernigh
(D) Ritch

Expert filehandling Compile it[Posted by: Admin | Chicago, USA]



Question: 35

(A) findsize a.out
(B) size a.out
(C) calc a.out
(D) ls -ltr a.out

Expert compilation Compile it[Posted by: Admin | Chicago, USA]



Question: 36

(A) 412412
(B) 41649
(C) 49416
(D) 41649

Expert operators Compile it[Posted by: Admin | Chicago, USA]



Question: 37

(A) There is no difference
(B) Union takes less memory
(C) Union is faster
(D) Structure is faster

Expert structure Compile it[Posted by: Admin | Chicago, USA]



Question: 38

(A) Yes
(B) No

Expert structure Compile it[Posted by: Admin | Chicago, USA]



Question: 39

(A) write()
(B) fwrite()
(C) swrite()
(D) None of the above

Expert structure Compile it[Posted by: Admin | Chicago, USA]



Question: 40

(A) Order members from largest to smallest
(B) Order memebers from smallest to largest
(C) By using only char data type
(D) By using referencial pointer

Expert operators Compile it[Posted by: Admin | Chicago, USA]



Question: 41

(A) Assembly Code
(B) .i file produced by Preprocessor
(C) Object Code
(D) Source Code

Expert assembler Compile it[Posted by: Admin | Chicago, USA]



Question: 42

(A) Executable Instructions
(B) Un-initialized Global Variables
(C) Un-initialized Static Variables
(D) Initialized Static & Global Variables

Expert compilation Compile it[Posted by: Admin | Chicago, USA]



Question: 43

(A) Compilation Error
(B) 8
(C) 7
(D) 0

Expert operators Compile it[Posted by: Admin | Chicago, USA]


Compile C++ code here  |  Upload your Questions

C++ Objective Questions By Different Categories:-
Loops | Conditional | Functions | Operators | Structure | Enum | Storage Classes | Union | FileHandling | Data Types | Inheritance | Pointers | Classes & Objects | Vtable | Type Casting | New & Delete | Namespaces | Reference Variables | Static Cast | Dynamic Cast | Reinterpret Cast | Const Cast | Virtual Functions | Abstract Class | STL | Singleton Class | C++ 11 | C++ 14 | C++ 17 | C++ 20 | gcc/g++ | others

Switch to C Questions