摘要: TASK1 int型数组a,在内存中不是连续存放的;每个元素占用4个内存字节单元;数组名a对应的值,和&a[0]不一样 char型数组b,在内存中连续存在;每个元素占用1个内存字节单元;数组名b对应的值,和&b[0]一样 int型二维数组a,在内存中不是"按行连续存放"的;每个元素占用4个内存字节单 阅读全文
posted @ 2024-05-16 22:47 世界和平么 阅读(6) 评论(0) 推荐(0) 编辑
摘要: EX3 Task1 `#include <stdio.h> include <stdlib.h> include <time.h> include <windows.h> define N 80 void print_text(int line, int col, char text[]); // 阅读全文
posted @ 2024-04-28 21:43 世界和平么 阅读(3) 评论(0) 推荐(0) 编辑
摘要: [TASK1] `#include<stdio.h> include<stdlib.h> include<time.h> define N 5 int main(){ int number,i; srand(time(0)); for(i = 0;i<N;i++){ number = rand()% 阅读全文
posted @ 2024-04-14 22:49 世界和平么 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://files.cnblogs.com/files/blogs/818867/202383310050%E5%BC%A0%E5%AE%B6%E7%95%85%E5%AE%9E%E9%AA%8C%E4%B8%80%E6%96%87%E4%BB%B6.zip?t=1710387514&dow 阅读全文
posted @ 2024-03-14 12:22 世界和平么 阅读(4) 评论(0) 推荐(0) 编辑