luc052.c (765B)
1 /* 2 * Author : Amit Dutta <amitdutta4255@gmail.com> 3 * Date : 08 Feb 2026 4 * Repo : https://github.com/notamitgamer/bsc 5 * License : MIT License (See the LICENSE file for details) 6 */ 7 8 /* If a macro is not getting expanded as per your expectation, how will you find out how is it being expanded by the preprocessor? 9 */ 10 /* Let Us C, Chap- 12 (The C Preprocessor), Qn No.: C(a) */ 11 /* This file is auto-generated by a bot. */ 12 /* This code is not compiled; it is for reference only. */ 13 14 15 #include <stdio.h> 16 #include <math.h> 17 #include <stdlib.h> 18 19 int main() 20 { 21 printf("To see how macros are expanded, use the compiler flag '-E'.\n"); 22 printf("Command: gcc -E filename.c\n"); 23 printf("This outputs the file after preprocessing stage.\n"); 24 25 return 0; 26 }