/*
NAME: TEST
AUTHOR: DDDDd
DATE: 2014-11-24
MODIFY: 2014-11-24 10:23
*/
#include
int main()
{
int a; //定义一个整形的变量,他的名字是a
a = 100; //给变量a赋值,让它 = 100
printf("a = %d\n",a); //打印变量a %d代表以十进制的方法打印
printf("a = %x\n",a); //打印变量a %x代表以十六进制方法打印
return 0;
}
阅读(1828) | 评论(0) | 转发(0) |