符号常量的使用
#include <stdio.h>
#define PRICE 30
int main()
{
int num, total;
num = 10;
total = num * PRICE;
printf ("total=%d", total);
}
符号常量的使用
#include <stdio.h>
#define PRICE 30
int main()
{
int num, total;
num = 10;
total = num * PRICE;
printf ("total=%d", total);
}