11 lines
258 B
C
11 lines
258 B
C
#include <stdio.h>
|
|
#define PRINT_INT(n) printf(#n " = %d\n", n)
|
|
|
|
int main() {
|
|
int i = 10;
|
|
PRINT_INT(i);
|
|
}
|
|
|
|
/* This program with the help of `#` operator will conver #n to string literal
|
|
* of an argument, so the output of the program will be: i = 10
|
|
*/
|