An In-Depth Introduction to C Language Macros (Part 1)
Let’s first take a look at the following piece of code. What do you think the output will be? #include <stdio.h> #define add(x) x + x int main(){ int ret = add(2) * 10; printf("%d", ret); return 0; } To understand the output of this program, we must discuss macros.This is the official explanation of … Read more