C Preprocessor - General Questions :: Discussion


2.What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile?
A.It compiles
B.Compiles with an warning
C.Compiles and print nothing
D.Not compile
Answer:  Option  D
Explanation:

The code won't compile since declaration of t cannot occur within parenthesis.

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers