0

Explain the reason why this won't execute

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

15th Aug 2019, 9:51 AM
Brutual bro
Brutual bro - avatar
2 Answers
+ 1
You were really using the old versions of C before Sololearn, clrscr() just isn't gonna work here. and use int main(), though it'll still work
15th Aug 2019, 3:51 PM
RZK 022
RZK 022 - avatar
0
Line 10 replace function() with int function(). Then, what is clrscr()? It isn't defined.
15th Aug 2019, 9:57 AM
Paul Grasser
Paul Grasser - avatar