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

Home » C » C Objective Questions and Answers (Page-1)

C Objective Questions and Answers - 195

Page 1 of 10 (1 - 20)


Question: 1

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

Compiler
Level: Expert Category: structure
[Posted by: Admin | Chicago, USA]



Question: 2

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

Compiler
Level: Expert Category: storgeclass
[Posted by: Admin | Chicago, USA]



Question: 3

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

Compiler
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]



Question: 4

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

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



Question: 5

test 1

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

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



Question: 6

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

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



Question: 7

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

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



Question: 8

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

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



Question: 9

(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: 10

test 1

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

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



Question: 11

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

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



Question: 12

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

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



Question: 13

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

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



Question: 14

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

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



Question: 15

test 1

(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: loops
[Posted by: Admin | Chicago, USA]



Question: 16

(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: loops
[Posted by: Admin | Chicago, USA]



Question: 17

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

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



Question: 18

(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: 19

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

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



Question: 20

test 1

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

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