23,116
社区成员
发帖
与我相关
我的任务
分享
#include <stdlib.h>
#include <stdio.h>
int main()
{
char buf[3]="AB";
char *str=buf;
if(fork()>0)
wait();
else
*str='M';
printf("%x:%s\n",(unsigned int)str,str);
return 0;
}