單項選擇題

下列程序的運行結果是()
#include
main()
{
int a=2,c=5;
printf("a=%d,b=%d\n",a,c);
}

A、a=%2,b=%5
B、a=2,b=5
C、a=d,b=d
D、a=%d,b=5d

微信掃碼免費搜題