Exercise Sheet 4 Nr. 9 line 8 valid?

I’m analyzing the (Exercise 9.: C Types Exercise Sheet 4) and cannot understand the solution for line 8.
Because I have tried it myself and it it seems to work.
I think there is a fault in the solution’s text as well because there it says:

Right hand side expression has type int , which is not implicitly convertible to char* .

This does not make sense because i has type int and not char*.

1 Like

Hey,

you are right, the expression in line 8 is correct.
Thanks for pointing out the mistake.

Best,
Tim