摘要:
4. #include <stdio.h>#include<string.h>#include <stdlib.h>#define N 100 typedef struct { char num[10]; int s1; int s2; double sum; char level[10]; } S 阅读全文
摘要:
1 #include <stdio.h> int main(){ int x[2][4]={{1,9,8,4},{2,0,4,9}}; int i,j; int *p; int (*q)[4]; for(i=0;i<2;++i) { for(j=0;j<4;++j) printf("%d",x[i] 阅读全文
摘要:
1. #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\n", sizeof(in 阅读全文
摘要:
1, #include <time.h> #include <stdio.h> #include <stdlib.h> #include <windows.h> #define N 80 void print_text(int line,int col,char text[]); void prin 阅读全文
摘要:
1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0) ); 阅读全文
摘要:
#include<stdio.h> #include<stdlib.h> int main() { int n,m,t=0; printf("输入正整数\n"); scanf("%d",&n); while(n!=0) { m=n%10; t=t*10+m; n=n/10; } printf("%d 阅读全文