C Test Incorrectly Uses printf() - Please Confirm

M

Martin

Well it does appear my answer was correct.

I have tried to contact the author of the quiz, but my e-mail is
bouncing. For those interested, the quiz was created by Seth Lowe and
is on this page: http://bellsouthpwp.net/v/o/voltson/index.html and
the contact e-mail is this: (e-mail address removed). If any of you can
find a way to contact him, it would be useful.

I composed an e-mail and sent it and when that bounced I tried again
and it bounced again.

Once again, thanks for your responses.
 
B

Ben Bacarisse

Martin said:
Well it does appear my answer was correct.

I have tried to contact the author of the quiz, but my e-mail is
bouncing. For those interested, the quiz was created by Seth Lowe and
is on this page: http://bellsouthpwp.net/v/o/voltson/index.html and
the contact e-mail is this: (e-mail address removed). If any of you can
find a way to contact him, it would be useful.

I see a seriously broken website. No questions visible at all. That's
a shame because you seemed to think it was better than most 9and most
are pretty awful).

<snip>
 
M

Martin

I see a seriously broken website.  No questions visible at all.  That's
a shame because you seemed to think it was better than most 9and most
are pretty awful).

On the page I linked to you can download a zip file. I've just done so
and run the executable (after running it through a virus checker) and
it runs the quiz. Some of you may want to try it to see what you
think. I thought it better than most and the explanations given
indicated the author had read the Standard - hence my surprise at what
I thought was the wrong answer given to the question which is the
subject of this thread.
 
S

Shao Miller

Well it does appear my answer was correct.

I have tried to contact the author of the quiz, but my e-mail is
bouncing. For those interested, the quiz was created by Seth Lowe and
is on this page:http://bellsouthpwp.net/v/o/voltson/index.htmland
the contact e-mail is this: (e-mail address removed). If any of you can
find a way to contact him, it would be useful.

I composed an e-mail and sent it and when that bounced I tried again
and it bounced again.

Once again, thanks for your responses.
I wonder if you could get "islands" out of the arguments with:

printf("%d", (int){++a}, a + 5);

or:

printf("%d", ++a, (int){a + 5});

or:

printf("%d", (int){++a}, (int){a + 5});
 
B

Ben Bacarisse

Martin said:
On the page I linked to you can download a zip file. I've just done so
and run the executable (after running it through a virus checker) and
it runs the quiz. Some of you may want to try it to see what you
think. I thought it better than most and the explanations given
indicated the author had read the Standard - hence my surprise at what
I thought was the wrong answer given to the question which is the
subject of this thread.

Better than many, I agree (though the fact that the website does not
work makes it unusable in general). There is certainly more than one
error though!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top