#define COLOR_CODE "`"
const char* color = COLOR_CODE "B"
#define COLOR_CODE "`"
const char* color = COLOR_CODE "B"
const char * foo = "This actually does work\r\n"
"So you can avoid having to stick annoying \\'s\r\n"
"At the end of every line!\r\n";
$ cat test.c
#include <stdlib.h>
#include <stdio.h>
int main()
{
const char* txt = "Hello ""world!""\n";
printf(txt);
return 0;
}
$ gcc -ansi -Wall –pedantic test.c
$ ./a.out
Hello world!
$