摘要:
task1_1 #include <stdio.h> #define N 4 int main() { int x[N]={1,9,8,4}; int i; int *p; // 方式1:通过数组名和下标遍历输出数组元素 for(i=0;i<N;++i) printf("%d",x[i]); pri 阅读全文
摘要:
#include <stdio.h> #define N 4 int main() { int a[N] ={2,0,2,2}; char b[N]= {'2','0','2','2'}; int i; printf("sizeof(int)=%d\n",sizeof(int)); printf(" 阅读全文
摘要:
task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 /* run this program using the console pauser or add your own getch, system( 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(i 阅读全文