Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux, Javascript!  

  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux

Interview Questions on Macros in C : Questions (10)

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


Question: 1

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

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



Question: 2

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

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



Question: 3

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

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



Question: 4

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

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



Question: 5

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

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



Question: 6

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

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



Question: 7

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

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



Question: 8

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

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



Question: 9

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

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



Question: 10

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

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