Is there a character sequence recognized as a newline that’s defined by the C standard and/or recognized by GCC? How can newlines be simulated after preprocessor directives to have them and C code share the same line? How about using digraphs or trigraphs?
#include <stdlib.h> [NEWLINE] int main() { exit(EXIT_SUCCESS); }
http://en.wikipedia.org/wiki/C_preprocessor#Multiple_lines says that they end at the first line which does not end in a backslash. How can we have them end within a line?
This is not possible, at least not on GCC. From the GCC documentation:
So the preprocessor must read an end-of-line after the include directive for this to work:
So you cannot use a newline sequence from a different platform, at least not on GCC.
There is no digraph for the newline:
Nor is there a trigraph: