|
-
November 26th, 2012, 08:06 PM
#27
Re: Fun C++ Problem
There are four so far... anyone want to see them
for (i=0; i+n; i--)
for (i=0; i<n; n--)
for (i=0;-i<n; i--)
for (i=0;~i<n; i--)
Neat question, not a very good introduction. Once someone finds three, they think they are a genius. Did someone find another?
By the way, the unary NOT is replacing a space (" ") just like the negative symbol
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|