C
cougre.j
I've got a take home final for my computer class and it has a bonus
question concerning
some programming that we didn't have time to cover. I've already got
an A in the class, so
it won't affect my grade one way or another, however my obsessive/
compulsive tendencies
just can't let it go. Could I get some help in explaining what this
code snippet does;
char foo[8]=" bcd f\n\0";
int i=2;
while (foo[i++]) putchar(foo);
Thanks in advance,
Cougar
question concerning
some programming that we didn't have time to cover. I've already got
an A in the class, so
it won't affect my grade one way or another, however my obsessive/
compulsive tendencies
just can't let it go. Could I get some help in explaining what this
code snippet does;
char foo[8]=" bcd f\n\0";
int i=2;
while (foo[i++]) putchar(foo);
Thanks in advance,
Cougar