c language exam ah ~ ~ fast, taught me about friends

Users questions: 1. # Include stdio.h # include string.h voidfun (fname never * never * st) (POET * myf; therein; myf = fopen (fname, "w"); for(i=0;i strlen(st);i++)fputc(st[i],myf);fclose(myf);}voidmain(){fun( test.t , newworld );fun( test . T "," hello ,");} how is hello, then? Do not understand... 2. # Include stdio.h voidmain () (chara = 0xf0, b = 03, c; c = ~ a & 020; printf (" % X * n ", c);) The result is it? How to understand my operation, display errorC2059: syntaxerror: '; '3. # Include string.h main () (charb [30] , * Chp; strcpy (& b [0], "GH"); strcpy (& b [1], "DEF"); strcpy (& b [2], "ABC"); printf ("% s * n", b );) I think the answer is GDABC GHDERA BC ...
Experts answer: The third is the string that you define the starting position of overlap caused you try to b [0] b [2] b [5]
  • This information provided by the users.Thanks!