bsc

Comprehensive codebase and coursework for the 4-year B.Sc. Computer Science Honours degree (WBSU)

git clone https://github.com/notamitgamer/bsc.git
· rebuilt hourlyOpen on GitHub
root / semester_1 / letusc / luc052.c

luc052.c (574B)


      1 /* If a macro is not getting expanded as per your expectation, how will you find out how is it being expanded by the preprocessor?
      2 */
      3 /* Let Us C, Chap- 12 (The C Preprocessor), Qn No.: C(a) */
      4 /* This file is auto-generated by a bot. */
      5 /* This code is not compiled; it is for reference only. */
      6 
      7 
      8 #include <stdio.h>
      9 #include <math.h>
     10 #include <stdlib.h>
     11 
     12 int main()
     13 {
     14     printf("To see how macros are expanded, use the compiler flag '-E'.\n");
     15     printf("Command: gcc -E filename.c\n");
     16     printf("This outputs the file after preprocessing stage.\n");
     17 
     18     return 0;
     19 }