-
实验四
任务一 源代码 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 #include<stdlib.h> 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组x占用的内存字节 -
实验4
实验任务1 源代码 1 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; printf("sizeof(x) = %d\n", sizeof(x)); for (i = -
实验4
#include<stdio.h> #define N 4 #define M 2 void test1(){ int x[N]={1,9,8,4}; int i; printf("sizeof(x)=%d\n",sizeof(x)); for(i=0;i<N;++i) printf("%p:%d\ -
实验4 C语言函数应用编程
实验任务1: 源代码: 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 void test1() { 5 int x[N] = { 1, 9, 8, 4 }; 6 int i; 7 printf("sizeof(x) = %d\n", sizeo -
20254119 实验三《Python程序设计》实验报告
学号 2025-2026-2 《Python程序设计》实验x报告 课程:《Python程序设计》 班级: 2541 姓名: 浦馨宇 学号:20254119 实验教师:王志强 实验日期:2026年4月28日 必修/选修: 专选课 1.实验内容 创建服务端和客户端,服务端在特定端口监听多个客户请求。客户 -
实验四
任务1 运行代码 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组x占用的内存字节数 10 printf("sizeo -
实验4
任务一 (1)源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 #define M 2 5 6 void test1() { 7 int x[N] = {1, 9, 8, 4}; 8 int i; 9 printf("size -
20254116《Python程序设计》实验三报告
20254116 2025-2026-2 《Python程序设计》实验三报告 课程:《Python程序设计》 班级: 2541 姓名: 李枝荣 学号:20254116 实验教师:王志强 实验日期:2026年4月29日 必修/选修: 专选课 1.实验内容 创建服务端和客户端,服务端在特定端口监听多个客 -
实验四
实验1 代码 点击查看代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", si -
实验4
实验任务1 task1.c #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; printf("sizeof(x) = %d\n", sizeof(x)); for (i -
实验4
实验一: 1.是连续存放,&x[0]和x相同。 2.是连续存放,x和x[0]和x[0][0]相同,x[0]和x[1]相差16,相差的是4个int,一个int占4个字节。 实验二: 1.形参形式是 数组名[],数组大小;实参形式是 数组名,数组大小。 2.input的功能是遍历输入数组的每一个数,co -
实验4 C语言数组应用编程
实验1 源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 #define M 2 5 6 void test1() { 7 int x[N] = {1, 9, 8, 4}; 8 int i; 9 10 // 输出数组x占用的内 -
20254214实验三《Python程序设计》实验报告
20254214 2025-2026-2 《Python程序设计》实验三报告 课程:《Python程序设计》 班级: 2542 姓名: 乔若曦 学号:20254214 实验教师:王志强 实验日期:2026年4月28日 必修/选修: 专选课 1.实验内容 创建服务端和客户端,服务端在特定端口监听多个客 -
实验4
实验内容 实验任务1 源代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", s -
实验报告4
task1 代码: 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组x占用的内存字节数 10 printf("size -
实验4
task1 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", sizeof(x)) -
20252311 实验三《Python程序设计》实验报告
20252311李仰楠 2025-2026-2 《Python程序设计》实验三报告 课程:《Python程序设计》 班级: 20252311 姓名: 李仰楠 学号:20252311 实验教师:王志强 实验日期:2026年4月27日 必修/选修: 公选课 1.实验内容 创建服务端和客户端,服务端在特定 -
实验4
实验任务一 源代码task1.c 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define N 4 4 #define M 2 5 6 void test1() { 7 int x[N] = {1, 9, 8, 4}; 8 int i; 9 10 pr -
实践七 Linux系统攻防
一、实验内容 1.主要任务 Metasploit 远程渗透攻击 使用 Metasploit 渗透测试框架,针对 Metasploitable 靶机上的 Samba 服务 usermap_script 漏洞进行远程渗透攻击,获取目标主机的 root 权限。 进行攻防对抗实践 攻击方利用 Metaspl -
实验4
1.实验任务1 task1.c 源代码 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 void test1() { 5 int x[N] = {1, 9, 8, 4}; 6 int i; 7 // 输出数组x占用的内存字节数 8 printf(