Home
0059-multistring.c - scc - simple c99 compiler HTML git clone git://git.simple-cc.org/scc DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- 0059-multistring.c (246B) --- 1 int main() 2 { 3 char * s; 4 5 s = "abc" "def"; 6 if(s[0] != 'a') return 1; 7 if(s[1] != 'b') return 2; 8 if(s[2] != 'c') return 3; 9 if(s[3] != 'd') return 4; 10 if(s[4] != 'e') return 5; 11 if(s[5] != 'f') return 6; 12 if(s[6] != 0) return 7; 13 14 return 0; 15 }