marsd,
Since my post in this forum about the cquiz, I have recieved many quiz sumbissions. About 80% get every question correct, about 10% miss a few things (question 5) and the rest fail. Those who fail, maybe getting a couple questions correct, do not have the "basic" skills needed for the...
>>The primary test is to spot the infinite loop.
It doesn't actually occur though. Your program doesn't enter an infinite loop. The last condition checked is
while( (0)++ > 0){...}
Since you are post-incrementing, when the while breaks out the value of `i` is 4294967295.
/sLaKr
Salem,
I can't find 4 things wrong with your "print hello world 10 times" program. I find:
1. no return for main
2. no stdio include
3. If we are following the specs of my quiz, you are using a C++ style comment
Other than that, the program works as advertised. You may have wanted the...
>>allowed/expected GUI toolkits and thread APIs
Well, I only say you have to follow the C89 spec. Meaning, no fancy C99 tricks. Maybe I should put a blurb on top saying any toolkit can be used.
As for the smartass, you are correct. The answer is, the question does not specify that that it...
My company is looking for a C developer and we have created a quiz. We have gotton some responses saying the quiz was too difficult. Other than the programmers I work with, I don't know any programmers to ask if the quiz is really too hard. So, I thought if I ask some anonymous C coders...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.