CppBuzz.com
  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux Forum

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

Interview Questions on Macros in C : (10)


Question: 1

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

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



Question: 2

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

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



Question: 3

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

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



Question: 4

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

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



Question: 5

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

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



Question: 6

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

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



Question: 7

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

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



Question: 8

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

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



Question: 9

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

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



Question: 10

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

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