你没有写%dprintf(" 这最大的是%d",max);
格式串不对,printf第一个参数末尾加上%d。任何教材上对于printf的讲解应该都很清楚,和py的print完全不同。
第12行有错
printf("max is largest:%d\n", max);