Created
April 11, 2020 02:24
-
-
Save alexparkjw/c7fefd9c4d0ae490c1628d70d7678ce7 to your computer and use it in GitHub Desktop.
gist test in c
This file contains hidden or 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 echo(x) printf(#x":\t %s\n", x) | |
int main(void) { | |
char textHello[] = "Hello world"; | |
echo(textHello); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
printing variable name and literal string both