1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #include<stdio.h> #include<stdlib.h> #include<string.h> int main(void){ char *ch; ch= (char *)malloc(20); strcpy(ch,"this is the terrible thing . and the girl is ugly\n"); fputs(ch,stdout); printf("%c",ch[21]); return 0; } |
Direct link: https://paste.plurk.com/show/396467