【单选题】
下面程序的运行结果是()。#includestdio.hmain(){FILE*fp;inta=2,b=4,c=6,k,n;fp=fopen("test.dat","w");fprintf(fp,"%d\n",a);fprintf(fp,"%d%d\n",b,c);fclose(fp);fp=fopen("test.dat","r");fscanf(fp,"%d%*d%d",k,printf("%d%d\n",k,n);fclose(fp);}
【单选题】
以下程序段的运行结果是()。chara[]="abc";charb[]="xyz";charc[10];strcpy(c,a);strcat(c,b);printf("%s",c);