C - Compilation Error with pointers exercise
Hi everyone, I hope someone can help me with what's wrong in my code. I started an exercise on Pointers in C, based on the SoloLearn course. Everything works fine until I get to a certain point, then when I run the code I get a compilation error. This is my code: https://code.sololearn.com/c6gXqx0hjQSz/?ref=app If the code is run as is, it sucessfully returns a result that I expect. However, when I remove the comment on line 17, so that line is now included when running the code, I get the compilation error. I'm experiencing this error in the SoloLearn app (android) and Sololearn on the web. But if I run the same code in another editor (jdoodle, and others), it runs successfully. There are warnings from some of those editors, but the code still runs. Any help and advice will be greatly appreciated. Kind regards rynhardt