From e455b2f368872832644ef24af09a67429bde6650 Mon Sep 17 00:00:00 2001 From: newde Date: Sat, 7 Mar 2026 00:47:37 -0500 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E6=8C=87=E9=92=88/?= =?UTF-8?q?=E4=BA=A4=E6=8D=A2=E5=80=BC=20.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 指针/交换值 .cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 指针/交换值 .cpp diff --git a/指针/交换值 .cpp b/指针/交换值 .cpp new file mode 100644 index 0000000..3f3a91e --- /dev/null +++ b/指针/交换值 .cpp @@ -0,0 +1,16 @@ + 1 #include + 2 using namespace std; + 3 + 4 int main(){ + 5 int a=10,b=5,temp,*ptr_a,*ptr_b; + 6 cout<<"a的值是:"<