C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
246 B

int main()
{
char * s;
s = "abc" "def";
if(s[0] != 'a') return 1;
if(s[1] != 'b') return 2;
if(s[2] != 'c') return 3;
if(s[3] != 'd') return 4;
if(s[4] != 'e') return 5;
if(s[5] != 'f') return 6;
if(s[6] != 0) return 7;
return 0;
}