Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » C » C Objective Questions for Practitioners

C Objective Questions for Practitioners : 25


Question: 1

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

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 2

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

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 3

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

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 4

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

Compiler
Level: Practitioner Category: function
[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

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 6

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

Compiler
Level: Practitioner Category: loops
[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

Compiler
Level: Practitioner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 8

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

Compiler
Level: Practitioner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 9

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

Compiler
Level: Practitioner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 10

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

Compiler
Level: Practitioner Category: loops
[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

Compiler
Level: Practitioner Category: loops
[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)

Compiler
Level: Practitioner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 13

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

Compiler
Level: Practitioner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 14

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

Compiler
Level: Practitioner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 15

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

Compiler
Level: Practitioner Category: pointers
[Posted by: Admin | Chicago, USA]


Question: 16

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

Compiler
Level: Practitioner Category: datatype
[Posted by: Admin | Chicago, USA]


Question: 17

(A) True
(B) False

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 18

(A) Yes
(B) No

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 19

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

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 20

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

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 21

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

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 22

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

Compiler
Level: Practitioner Category: function
[Posted by: Admin | Chicago, USA]


Question: 23

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

Compiler
Level: Practitioner Category: other
[Posted by: Admin | Chicago, USA]


Question: 24

(A) Yes
(B) No

Compiler
Level: Practitioner Category: preprocessor
[Posted by: Admin | Chicago, USA]


Question: 25

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

Compiler
Level: Practitioner Category: preprocessor
[Posted by: Admin | Chicago, USA]


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