标签:c scanf
#include<stdio.h> int main() { int a,b; scanf("%2d%*2s%d",&a,&b); printf("\na=%d,b=%d\n",a,b); return 0; }
scanf 之 %2s 与 %2d
原文地址:http://blog.csdn.net/wdkirchhoff/article/details/43636975