1.

What will the SWAP macro in the following program be expanded to on preprocessing? will the code compile?_x000D_ #include_x000D_ #define SWAP(a, b, c)(c t; t=a, a=b, b=t)_x000D_ int main()_x000D_ {_x000D_ int x=10, y=20;_x000D_ SWAP(x, y, int);_x000D_ printf("%d %d\n", x, y);_x000D_ return 0;_x000D_ }

A. It compiles
B. Compiles with an warning
C. Not compile
D. Compiles and print nothing
Answer» D. Compiles and print nothing


Discussion

No Comment Found