Quiz for Novice to Intermediate C Users

Goldilocks lspirkov at udenva.UUCP
Mon Apr 22 11:20:04 AEST 1985


>on the line where you have:
>	a=b/*p;			/* div b by ... */
>
>the /* between the b and the p is the beginning of the comment, not
>a div (/) and then a pointer (*).  and the answer i got was 10.  and that's
>b/dum(a);  (anyone know why dum(a) has the value 1???)
>
>						Goldi

wait, wait.  don't answer yet.  dum(a) doesn't have the value 1 because
it's not really a=b/dum(a);
it's really a=b dum(a); and since dum(x) is a blank macro, the
equation is a=b;  that's why the answer is 10.

						Goldi

ps:  i would have retracted my first message but i don't know how
	nor do i want to read the manual.



More information about the Comp.lang.c mailing list