0
Which is valid?
https://code.sololearn.com/cLxHts0KbT43/?ref=app https://code.sololearn.com/c8D7cn4o0lL8/?ref=app when run these codes I get error.. using codeblock.. type not defined.. something like that
2 Respuestas
+ 1
I guess the second code doesn't work because Sololearn uses an old C version, where structs are implemented differently. For Codeblocks you could try using a newer C version as well, like C11, but the first code should work anyway
0
thanks