+ 3
Wrong answers to challenges questions?
Is it just me, or sometimes the answers for challenges questions are plain wrong?
4 ответов
+ 11
yes. sometime it is wrong.
+ 3
It's more common for the main() function to be integer instead of void. In the lessons, it is also really used as int. A blank can't have more than one answer place. int was the more logical option. Also, yeah, some questions mathematically are messed up. There was this one question I thought I KNEW I was going to get right, but then I was wrong.
+ 1
I am pretty sure some questions are messed up and it's very frustrating. Especially mathematical ones
0
@Rain, I checked in playground for the main function and it really can't be of type void there, so i edited my question :) But i am used to writing code in visual studio IDE and there, the main() function can be declared of type void. Of course, main ()should return something in order for the programmer to see if some error occured, but the question was: "Can main() function be of type void?" And i naturally chose "yes", based on my experience :)