-
实验4
实验任务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("size -
实验4
任务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=0;i<N;i++) printf("%p -
实验四
task 1: #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(" -
实验四
实验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", sizeof(x)); -
实验四
task.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
test1 源代码 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 printf("sizeof(x) = %d\n", sizeo -
实验四
实验任务一 源代码 点击查看代码 #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 -
实验4
实验任务1 task1.c源代码 #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", -
实验四
task 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 printf("sizeof(x) = %d\n",sizeof -
实验4
实验任务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 = 0; i < -
实验4
task-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 = -
20232405 2025-2026-1 《网络与系统攻防技术》实验五实验报告
1. 实验内容 (1)对任意一个DNS域名进行查询并获取一些信息 (2)查询任意社交媒体中好友的ip,并获取其所在地理位置 (3)使用nmap对靶机环境进行扫描并获取一些信息 (4)使用Nessus对靶机环境进行扫描并获取一些信息 (5)通过搜索引擎搜索自己在网上的足迹,判断自己是否有隐私泄露问题 -
20232415 2025-2026-1 《网络与系统攻防技术》 实验五实验报告
一、实验内容 1.1DNS 域名与 IP 关联信息搜集:从指定 3 个域名中任选其一,运用 whois、dig、nslookup、traceroute、tracert 及在线工具,获取 DNS 注册人及联系方式、域名对应 IP 地址、IP 注册人及联系方式、IP 所在国家 / 1城市 / 具体地理位 -
实验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)) -
实验任务4
实验任务1 问题1:连续存放,值相同 问题2:连续存放,值相同,相差16个字节,差值的含义是数组一行所占字节数 实验任务2 问题1:形参的书写是int x[] 实参书写是x 问题2:函数 input 的功能是将输入的数依次存入数组,函数 compute 的功能是找出数组中的最大和最小值,除去最大和最 -
20232422 2025-2026-1 《网络与系统攻防技术》实验五实验报告
20232422 龙浩然 2025-2026-1 《网络与系统攻防技术》实验五实验报告 一、实验内容 DNS信息搜集:查询指定域名的注册信息、对应IP和地理位置。 网络抓包定位:通过Wireshark抓取qq好友IP,解析其地理位置。 靶机扫描探测:使用nmap识别WinXP靶机的活跃状态、开放端口 -
20232413 2025-2026-1 《网络与系统攻防技术》实验五实验报告
一.实验内容 1.搜索域名和ip信息 2.获取好友IP地址及其地理位置 3.使用nmap扫描靶机进行漏洞分析 4.查询个人网上信息和学习高级搜索技能 二.实验过程 2.1 DNS 域名信息查询(以baidu.com为例) 2.1.1whois 查询 DNS 注册人及联系方式 命令:whois ba -
Task4
实验任务1 #include #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)); // 输出每个元 -
实验四
1.(1)是连续存放 , x和&x[0]的值相同 (2)二维数组在内存中是按行连续存放的 ,x、x[0]和&x[0][0]的值相同 2.(1)形参int x[] , int n 实参x, n (2)标准输入读取 n个整数,并依次存储到一维数组 x[ ]中 计算数组 x中 n个元素的平均值,但去除一个 -
实验4
实验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 // 输出数组x占用的内存字节数 8 printf("sizeof(x) =