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 » Interview Questions on Macros in C

Interview Questions on Macros in C : Questions (10)


Question: 1

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

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



Question: 2

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

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



Question: 3

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

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



Question: 4

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

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



Question: 5

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

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



Question: 6

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

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



Question: 7

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

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



Question: 8

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

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



Question: 9

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

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



Question: 10

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

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