Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Friday 9 July 2021

Interview Hack#42


What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile?

  1. It compiles
  2. Compiles with a warning
  3. Not compile
  4. Compiles and print nothing
  5. None Of These

Correct answer 3) Not compile

Explanation:

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

0 comments:

Post a Comment