摘要:
#include <bits/stdc++.h> using namespace std; int main(){ int a=10; int *p;//声明指针 p=&a;//将指针p指向变量a的内存地址 cout<<a<<endl; cout<<p<<endl;//a的内存地址 cout<<*p 阅读全文
posted @ 2023-10-28 09:49
fushuxuan1
阅读(14)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h>using namespace std;int a[6],n,sum=0,p,t;void one(){ for(int i=0;i<5;i++){ for(int j=0;j<5-i;j++){ if(a[j]<a[j+1]){ t=a[j]; a[ 阅读全文
posted @ 2023-10-28 09:37
fushuxuan1
阅读(18)
评论(0)
推荐(0)

浙公网安备 33010602011771号