P
Peteris Krumins
Hello,
while reading through iso c standard (August 3, 1998), I noticed
something I had never heard of in C: "Trigraph sequences", 5.2.1.1
The standard says:
"All occurrences in a source file of the following sequences of
three characters (called trigraph sequences)) are replaced with
the corresponding single character."
EXAMPLE
The following source line
printf("Eh???/n");
becomes (after replacement of the trigraph sequence ??/)
printf("Eh?\n");
Does this mean i can write something as obfuscated as:
--
??=include <stdio.h>
int
main(void)
??<
printf("hello world??\n");
??>
while reading through iso c standard (August 3, 1998), I noticed
something I had never heard of in C: "Trigraph sequences", 5.2.1.1
The standard says:
"All occurrences in a source file of the following sequences of
three characters (called trigraph sequences)) are replaced with
the corresponding single character."
EXAMPLE
The following source line
printf("Eh???/n");
becomes (after replacement of the trigraph sequence ??/)
printf("Eh?\n");
Does this mean i can write something as obfuscated as:
--
??=include <stdio.h>
int
main(void)
??<
printf("hello world??\n");
??>