Groovy hepcat Kotni was jivin' on 31 Oct 2003 02:09:20 -0800 in
comp.lang.c.
A C-Program Question's a cool scene! Dig it!
Write a function of type void fn (void)
so that the o/p of the program should be anything other than 20.
(Dont use #define fn()..... )
main() {
int i=20;
fn();
printf("%d \n",i);
}
Why repost? We saw this problem the first time you posted it.
Anyhow, how 'bout this?
void fn(void)
{
printf("anything other than ");
}
--
Dig the even newer still, yet more improved, sig!
http://alphalink.com.au/~phaywood/
"Ain't I'm a dog?" - Ronny Self, Ain't I'm a Dog, written by G. Sherry & W. Walker.
I know it's not "technically correct" English; but since when was rock & roll "technically correct"?