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