From 5585d528a4a40f1c51fe9e566142bba8038ab39c Mon Sep 17 00:00:00 2001 From: xingyou wu <3050128610@qq.com> Date: Sun, 16 Mar 2025 19:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E6=97=B6=E6=96=87=E4=BB=B6=E5=8F=98?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test100.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test100.cpp b/test100.cpp index a98d9bb..55f6b4f 100644 --- a/test100.cpp +++ b/test100.cpp @@ -2,5 +2,11 @@ using namespace std; int main(){ + string s = "hello world"; + char *str = "hello world"; + char *str_1 = &str[2]; + str++; + cout << str << endl; + return 0; } \ No newline at end of file