Created
December 11, 2017 20:22
-
-
Save C47D/2607764b4be377fb8375aa76a57ea065 to your computer and use it in GitHub Desktop.
test for generating strings
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> | |
#include <stdlib.h> | |
#define NAME(x) "Hola " #x | |
#define MSG(x) NAME(x) | |
int main(void) | |
{ | |
printf("%s\r\n", MSG(World)); | |
return EXIT_SUCCESS; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment