char str[] = "This is OOP244";char* s;s = &str[8]; // points to the first 'O' in OOP244cout << *(s + 3) << endl; // displays 244
0 评论:
Post a Comment