Created
April 24, 2018 13:33
-
-
Save sTinGe/d592e36e548f2dd04829aa9f80f5f64d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define price double | |
#define PRINT(x) printf("macro: %f", x); | |
int main() { | |
price p = 12.3; | |
PRINT(p); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment