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 Beginners

C Objective Questions for Beginners : 44


Question: 1

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

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



Question: 2

(A) stdio.h
(B) conio.h
(C) stdlib.h
(D) stdlibio.h

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



Question: 3

(A) 1970
(B) 1972
(C) 1978
(D) 1979

Beginner other Compile it[Posted by: Admin | Chicago, USA]



Question: 4

(A) 2
(B) 3
(C) 4
(D) 1

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



Question: 5

(A) 1 time
(B) 0 time
(C) Infinite times
(D) Error: Lvalue Required

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



Question: 6

(A) 1 time
(B) Infinite Times(Untill Stack is overflow)
(C) 2 times
(D) Error

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



Question: 7

(A) 1 time
(B) Compilation Error
(C) 0 time
(D) Infinite Times(Untill Stack is Overflow)

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



Question: 8

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

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



Question: 9

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

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



Question: 10

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

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



Question: 11

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

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



Question: 12

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

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



Question: 13

(A) Java
(B) Php
(C) C
(D) Visual Basix

Beginner other Compile it[Posted by: Admin | Chicago, USA]



Question: 14

(A) 1 1
(B) 2 2
(C) 4 4
(D) Undefined

Beginner pointers Compile it[Posted by: Admin | Chicago, USA]



Question: 15

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

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



Question: 16

(A) Declaration
(B) Definition

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



Question: 17

(A) 20
(B) 0
(C) Undefined reference to i
(D) Linking Error

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



Question: 18

(A) 1
(B) 2
(C) No Limit
(D) Depends on Compiler

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



Question: 19

(A) Yes
(B) No

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



Question: 20

(A) binary form
(B) ASCII code form
(C) decimal form
(D) alphanumeric form

Beginner other Compile it[Posted by: Admin | Chicago, USA]



Question: 21

(A) 66D
(B) 41H
(C) 0100 0010
(D) 0110 0011

Beginner other Compile it[Posted by: Admin | Chicago, USA]



Question: 22

(A) 48D
(B) 32H
(C) 0011 1000
(D) 42H

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



Question: 23

(A) 1
(B) 2
(C) 3
(D) 4

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



Question: 24

(A) Yes
(B) No

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



Question: 25

(A) Yes
(B) No
(C) Depends on Compiler

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



Question: 26

(A) Yes
(B) No

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



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

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



Question: 28

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

Beginner variables Compile it[Posted by: Admin | Chicago, USA]



Question: 29

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

Beginner variables Compile it[Posted by: Admin | Chicago, USA]



Question: 30

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

Beginner variables Compile it[Posted by: Admin | Chicago, USA]



Question: 31

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

Beginner variables Compile it[Posted by: Admin | Chicago, USA]



Question: 32

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

Beginner variables Compile it[Posted by: Admin | Chicago, USA]



Question: 33

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

Beginner variables Compile it[Posted by: Admin | Chicago, USA]



Question: 34

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

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



Question: 35

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

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



Question: 36

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

Beginner switch Compile it[Posted by: Admin | Chicago, USA]



Question: 37

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

Beginner switch Compile it[Posted by: Admin | Chicago, USA]



Question: 38

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

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



Question: 39

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

Beginner conditional Compile it[Posted by: Jagadeesh yadav | India ,Ap ,kadapa]



Question: 40

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

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



Question: 41

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

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



Question: 42

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

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



Question: 43

(A) Yes
(B) No

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



Question: 44

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

Beginner loops Compile it[Posted by: vikas | india]


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