摘要:
//主要是数组的scanf用法和strlen sizeof 的区别#include<stdio.h>#define DENSITY 62.4int main(void){ float weight ,volume; int size ,letters; char name[40]; printf(" 阅读全文
摘要:
//以十进制、八进制和十六进制输出100,加入#会显示前缀#include<stdio.h>int main(){ int x = 100; printf("dec = %d; octal = %o;hex = %x\n",x,x,x); printf("dec = %d; octal = %#o; 阅读全文