03-c語言複習-宏定義

#include <stdio.h>
#define a 3 // 使用#define定義常量
#define b 4
const int f = 5; // 使用const定義常量

int main(){
    printf("helll world\n");
    printf("%d\n", a);
    printf("%d\n",f);
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章