+ 2
[C++] Why the code run error if un-mark the line 11?
Code as below: https://code.sololearn.com/chs3vFdztces/#cpp the line 11 is same as line 16, why it won't error? and why run error if un-mark the line 11? Could someone explain to me?
2 Answers
+ 6
Hey that should be endl and not end.
cout<<*p++<<endl;
Line 11.
+ 1
wow thanks a lot