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 Practitioners

C Objective Questions for Practitioners : 69 Questions


Question: 1

(A) mathio.h
(B) math.h
(C) square.h
(D) stdio.h

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



Question: 2

(A) math.h
(B) mathio.h
(C) string.h
(D) ctype.h

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



Question: 3

(A) 6,6
(B) 6,7
(C) 7,7
(D) 0,0

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



Question: 4

(A) Operator Overloading
(B) Function Overloading
(C) Function Overriding
(D) Function renaming

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



Question: 5

(A) sum is function which takes int arguments
(B) sum is a function which takes two int arguments and returns void
(C) it will produce compilation error
(D) Can't comment

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



Question: 6

(A) 5
(B) 10
(C) 25
(D) 50

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



Question: 7

(A) cppbuzz is printed 5 times
(B) Compilation Error
(C) cppbuzz is printed 1 times
(D) Nothing is printed

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



Question: 8

(A) 55
(B) 54
(C) 1
(D) 0

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



Question: 9

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

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



Question: 10

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

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



Question: 11

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

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



Question: 12

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

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



Question: 13

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

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



Question: 14

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

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



Question: 15

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

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



Question: 16

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

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



Question: 17

(A) True
(B) False

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



Question: 18

(A) Yes
(B) No

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



Question: 19

(A) 0
(B) 1
(C) 100
(D) 3

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



Question: 20

(A) .4
(B) 23
(C) 23.45
(D) 23.

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



Question: 21

(A) a
(B) "a"
(C) nothing
(D) Compilation Error

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



Question: 22

(A) a
(B) %
(C) Compilation Error
(D) Nothing is printed

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



Question: 23

(A) C11
(B) C99
(C) C95
(D) C89

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



Question: 24

(A) Yes
(B) No

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



Question: 25

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

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



Question: 26

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

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



Question: 27

(A) CppBuzz.com
(B) No output
(C) Compilation Error in preprocessing
(D) None of above

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



Question: 28

(A) CppBuzz.com
(B) Nothing
(C) Compilation Error
(D) Depends on Compilor

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



Question: 29

(A) -- #include<stdio.h>
(B) // #include<stdio.h>
(C) ''#include<stdio.h>
(D) ##include<stdio.h>

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



Question: 30

(A) cppbuzz-Good place to learn C
(B) cppbuzz-Bad place to learn C
(C) Good place to learn C
(D) Bad place to learn C

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



Question: 31

(A) cppbuzz-Bad place to learn C
(B) cppbuzz-Good place to learn C
(C) Bad place to learn C
(D) Good place to learn C

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



Question: 32

(A) 0 - too young
(B) Compilation Error
(C) Nothing is printed
(D) How old are you? 16 - too young

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



Question: 33

(A) Easy
(B) Hard
(C) C programming is Easy
(D) None of the above

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



Question: 34

(A) Easy
(B) Hard
(C) EasyHard
(D) Error in program

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



Question: 35

(A) 10
(B) 20
(C) 2a
(D) Compilation Error

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



Question: 36

(A) Then
(B) TenTwenty
(C) TenTwentyThirtynothing
(D) nothing

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



Question: 37

(A) 10
(B) Compilation Error
(C) default
(D) None of the above

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



Question: 38

(A) Compilation Error
(B) a
(C) abc
(D) abcdefault

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



Question: 39

(A) a
(B) abc
(C) abcdefault
(D) Compilation Error

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



Question: 40

(A) a
(B) abc
(C) abcdefault
(D) Compilation Error

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



Question: 41

(A) Compilation Error
(B) A
(C) default
(D) Hi-C

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



Question: 42

(A) 11-11
(B) 11-12
(C) 12-11
(D) 12-12

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



Question: 43

(A) 12-12
(B) 11-11
(C) 2-12
(D) 4-11

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



Question: 44

(A) C-p
(B) C-P
(C) 0-0
(D) 67-112

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



Question: 45

(A) 67-112
(B) 112
(C) C
(D) 67

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



Question: 46

(A) Compilation Error
(B) CppBuzz.com
(C) Cp
(D) Cpp

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



Question: 47

(A) 20
(B) 10
(C) 100
(D) 200

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



Question: 48

(A) 225
(B) 65
(C) 85
(D) 155

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



Question: 49

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

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



Question: 50

(A) 10
(B) 11
(C) Compilation Error
(D) Not Defined

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



Question: 51

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

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



Question: 52

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

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



Question: 53

(A) 10 Garbage
(B) Garpage 10
(C) 10 0
(D) Compilation Error

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



Question: 54

(A) 65
(B) 65 65
(C) 65 a
(D) 65 A

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



Question: 55

(A) 27
(B) 79
(C) 83
(D) 0

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



Question: 56

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

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



Question: 57

(A) Hello 0 0 0 10 12 0
(B) Hello 5 5 1 10 12 3
(C) Hello 6 6 6 10 12 3
(D) Hello 6 6 2 2 10 12 8

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



Question: 58

(A) 50 69#51 59
(B) 50 60#52 58
(C) 50 60#51 59
(D) 50 59#51 60

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



Question: 59

(A) 2100
(B) 217.227
(C) 21*10
(D) 22*11

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



Question: 60

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

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



Question: 61

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

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



Question: 62

(A) cppbuzz
(B) cppbuzzcppbuzz
(C) cppbuzz7
(D) None of the above

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



Question: 63

(A) Yes
(B) No

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



Question: 64

(A) Yes
(B) No

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



Question: 65

(A) Yes
(B) No

Practitioner union Compile it[Posted by: Admin | Chicago, USA]



Question: 66

(A) 1100
(B) 11
(C) 0100
(D) 10

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



Question: 67

(A) Assembly Code
(B) Object Code
(C) Executable
(D) .i file

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



Question: 68

(A) 555
(B) 543
(C) 545
(D) 544

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



Question: 69

(A) Compilation Error
(B) Hello
(C) 5Hello
(D) Hello5

Practitioner function Compile it[Posted by: Bellemar | Philippines]


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