scanf("%2d%*2d%1d",&x,&y);是什么意思%2d%*2d%1d
输入1234567main(){intx,y;scanf("%2d%*2d%1d",&x,&y);printf("%d\n",x+y);getch();}...
输入1234567
main()
{
int x,y;
scanf("%2d%*2d%1d",&x,&y);
printf("%d\n",x+y);
getch();
} 展开
main()
{
int x,y;
scanf("%2d%*2d%1d",&x,&y);
printf("%d\n",x+y);
getch();
} 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询