摘要:
实验任务1 task1_1.c #include <stdio.h> #define N 4 int main() { int x[N] = {1,9,8,4}; int i; int *p; for(i = 0;i<N;i++) printf("%d",x[i]); printf("\n"); f 阅读全文
摘要:
#include<stdio.h> #include<string.h> #define N 10 //运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student{ int id; //学号 char name[20]; //姓名 char subject[20 阅读全文
摘要:
实验任务1 task1_1.c #include <stdio.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("sizeof(int) = %d 阅读全文