How this one liner works ?
- From: g.kanaka.raju@xxxxxxxxx
- Date: 13 Aug 2005 00:11:35 -0700
main() { printf(&unix["\021%six\012\0"], (unix)["have"]+"fun"-0x60);}
output : unix
I have printed &unix["\021%six\012\0"] ==> output : %six and
(unix)["have"]+"fun"-0x60 ==> output : un
Could anyone of you explain how the above works. I'm curious to know
the trick here. I really appriciate your thoughts.
Regards,
Raju
.
- Follow-Ups:
- Re: How this one liner works ?
- From: Michael Mair
- Re: How this one liner works ?
- Prev by Date: Re: Pointer Increment
- Next by Date: Re: How to get the total row number of a text file
- Previous by thread: want to know hoe the following works .
- Next by thread: Re: How this one liner works ?
- Index(es):
Relevant Pages
|