Re: How to understand this line of c ?
- From: Flash Gordon <spam@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 19:08:10 +0000
Broeisi wrote:
Ivan Budiselic wrote:
"lnzju" <geniuslee@xxxxxxxxx> wrote in message news:1136051664.299850.274430@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxDon't. It's rubbish.main(_){for(--_;putchar(_++["J!Mpwf!Zpv\1"]-1););}
Well it ain't rubbish cause it is valid C!!
Actually, it's not. In C main either takes no arguments or two arguments, not 1.
Try compiling it..
The output will be:
I Love You
Not necessarily. It was written assuming ASCII, and not all C implementations use ASCII.
But this code is obfuscated.... Only the real C gurus will understand it I Guess.... not this novice guy...
Depends. It's not that difficult. Just format it properly and learn a couple of tricks and it is simple.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
.
- References:
- How to understand this line of c ?
- From: lnzju
- Re: How to understand this line of c ?
- From: Ivan Budiselic
- Re: How to understand this line of c ?
- From: Broeisi
- How to understand this line of c ?
- Prev by Date: Re: How to understand this line of c ?
- Next by Date: Re: Structure size and binary format
- Previous by thread: Re: How to understand this line of c ?
- Next by thread: Re: How to understand this line of c ?
- Index(es):
Relevant Pages
|