I dont know why the code below has no output..the output should be 14 right? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
1 Answer
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