Modern Electronics (was Re: List charter mods & headcount... ;

From: Fred Cisin <cisin_at_xenosoft.com>
Date: Wed Jun 23 18:00:22 2004

On Wed, 23 Jun 2004, Dan Veeneman wrote:
> Fred,
> Do you really give out tests like this:

No
I proofread them, and then more carefully proofread the hardcopy before
duplicating.

> At 06:06 PM 6/23/04, you wrote:
> >int N = 10;
> >while (N--) printf("&d\n",N);
> >What are the first and last numbers displayed?
> >is appropriate for open-book.
>
> I'm presuming there's a typo inside the quotes...
> otherwise you have a nice trick question!

I do sometimes deliberately give trick questions, such as
while (N);
{ printf("%d\n",N);
}
but this one was, indeed, a typo.

--
Grumpy Ol' Fred     		cisin_at_xenosoft.com
Received on Wed Jun 23 2004 - 18:00:22 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:37:00 BST