Is there a way to print the value used in a #define statement?
example:
#define N 100
... later in the program...
printf("N");
this is a simplification, but how do I get that print statement to show 100 instead of N?
Thanks for any help.
Is there a way to print the value used in a #define statement?
example:
#define N 100
... later in the program...
printf("N");
this is a simplification, but how do I get that print statement to show 100 instead of N?
Thanks for any help.
Code:printf("%d", N);