課程
/后端開發(fā)
/C
/C語言入門
來個人救救小白
2018-08-13
源自:C語言入門 2-8
正在回答
這樣子
你的單引呢
#include<stdio.h>
int main()
{
? char ? c = 'a';
?int ? ? n = c ? ;
? float ?f = n ? ;
? double ?d = f;
printf("%d\n",n);
printf("%f\n",f);
printf("% d\n",d);
return 0 ;
}
舉報
C語言入門視頻教程,帶你進(jìn)入編程世界的必修課-C語言
5 回答答案沒看懂,求大神解釋。
1 回答自動類型轉(zhuǎn)換
2 回答自動類型轉(zhuǎn)換
3 回答自動類型轉(zhuǎn)換
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2018-08-14
2018-08-13
你的單引呢
2018-08-13
#include<stdio.h>
int main()
{
? char ? c = 'a';
?int ? ? n = c ? ;
? float ?f = n ? ;
? double ?d = f;
printf("%d\n",n);
printf("%f\n",f);
printf("% d\n",d);
return 0 ;
}