Subject:
|
Re: Programming Brain Teaser
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Thu, 7 Sep 2000 15:36:43 GMT
|
Viewed:
|
127 times
|
| |
| |
richard marchetti <blueofnoon@aol.com> wrote:
> Hey Y'all:
>
> Someone posed the following teaser to me, and I admit that it has stumped
> me completely. It has even stumped my programmer buddies (which creates
> doubt in my mind that there IS actually a solution to the puzzle).
>
> The question was posed thusly:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~ What line of code written either in C, C++, or Perl will compile written
> forward as well as backwards?
Well the obvious answer is ";", but that's a bit too simple. I can't
think of anything else that doesn't involve several variable and/or
function definitions elsewhere.
--
Kevin Reid: | Macintosh:
"I'm me." | Think different.
|
|
Message is in Reply To:
| | Programming Brain Teaser
|
| Hey Y'all: Someone posed the following teaser to me, and I admit that it has stumped me completely. It has even stumped my programmer buddies (which creates doubt in my mind that there IS actually a solution to the puzzle). The question was posed (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
|
19 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|