整型常量的問(wèn)題
如果現(xiàn)在想要輸出一個(gè)常量10,那代碼的書(shū)寫(xiě)形式是不是以下這幾種都行?
第一種printf("%d\n",10);
第二種printf("10");
第三種?int a =10;
???? ? ? ?printf("%d\n",a);
如果現(xiàn)在想要輸出一個(gè)常量10,那代碼的書(shū)寫(xiě)形式是不是以下這幾種都行?
第一種printf("%d\n",10);
第二種printf("10");
第三種?int a =10;
???? ? ? ?printf("%d\n",a);
2016-01-22
舉報(bào)
2016-01-22
對(duì)的,都可以
2016-01-22
except the first & the third