摘要: #include <stdio.h> #define N 5 #define M 80 typedef struct { char name[M]; // 书名 char author[M]; // 作者 }Book; int main() { Book x[N] = { {"一九八四", "乔治. 阅读全文
posted @ 2022-06-07 00:49 奇怪的宇 阅读(27) 评论(1) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.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",sizeo 阅读全文
posted @ 2022-05-09 23:28 奇怪的宇 阅读(15) 评论(1) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 int main() { int grade,number; int i; srand (time(0)); for (i=0;i<N;++i) { grade=ran 阅读全文
posted @ 2022-04-19 00:02 奇怪的宇 阅读(12) 评论(3) 推荐(0)
摘要: #include<stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf(" \n"); printf(" o \n"); printf("<H>\n"); printf("I I\n"); re 阅读全文
posted @ 2022-03-29 17:17 奇怪的宇 阅读(38) 评论(3) 推荐(0)
点击右上角即可分享
微信分享提示