+ 1

I dont know why the code below has no output..the output should be 14 right?

https://code.sololearn.com/cWehVCOwIS1F/?ref=app

1st May 2018, 5:08 PM
RiGeL
RiGeL - avatar
2 ответов
0
Pointer 3 is not pointinh at any value, so it is a nullptr. It has to point on a object.
1st May 2018, 5:23 PM
XiLef