常量的定义
常量的定义
#include<stdio.h>
#define 四大皆空 main
//void main1()
//{
// const int x = 10;//常量,const 固定恒定的意思,常量不可以修改
// // x = 5;//左值是能放在等号左边被赋值的值
//
// //常量只可以读不可以写,变量可读可写
//
//#define a 100//常量
// printf("%d%d", x, a);
// getchar();
//}
void 四大皆空()
{
#define PI 3.141592654//用有意义的标识符取代数字,修改一次可以改变全局
//#define的本质是替换,后面如果加上分号;会将;连带一起替换
int R = 10;
printf("%f", PIRR);
getchar();
}