123456789101112131415
#include <iostream> using namespace std; int main() { char s[]="C++"; cout << s << endl; *s++; cout << s << endl; return 0; } output:error: lvalue required as increment operand *s++; ^
(*s)++;