October 20, 2003

A very nice Q


int i, n = 20;
for (i = 0; i < n; i--)
printf("-");

You have to print '-' 20 times. by adding or removing or
replacing only a single character from the code.
There are 3 possible solutions for the above question. What
are they ?
want answer? mail me at ankur_reddy@yahoo.com

No comments: