C語言沒有分數,只有浮點數float或者double。下面是c語言中基本資料的分類:char 字元型、 int 整型、 short int 短整型、 long int 長整型、 float 單精度浮點型 、doubl 雙精度浮點型。