Interview Questions on C C++

Home  |  About Us  |  Contact
View Questions Contribute Training Misc..

Interview Questions on Macros in C : Total Questions (10)

You are here : Home » Interview Questions on Macros in C


Question: 1

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

[Posted by: Admin | Location: Chicago, USA]



Question: 2

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

[Posted by: Admin | Location: Chicago, USA]



Question: 3

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

[Posted by: Admin | Location: Chicago, USA]



Question: 4

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

[Posted by: Admin | Location: Chicago, USA]



Question: 5

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

[Posted by: Admin | Location: Chicago, USA]



Question: 6

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

[Posted by: Admin | Location: Chicago, USA]



Question: 7

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

[Posted by: Admin | Location: Chicago, USA]



Question: 8

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

[Posted by: Admin | Location: Chicago, USA]



Question: 9

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

[Posted by: Admin | Location: Chicago, USA]



Question: 10

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

[Posted by: Admin | Location: Chicago, USA]