How this one liner works ?




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

.



Relevant Pages

  • Re: Excell cant add
    ... Unfortunately, this is the sort of quick workaround, shortcut or fancy ... trick that computer programming textbooks tell you not to use. ... Regards ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Lookup
    ... the trick if you make its precondition if(and ... >> puts the col e value there if they are equal. ... >> Regards, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Wechselplatte & Mirroring
    ... Denk einfach mal nach. ... But after a while I learned the trick of speaking fast. ...
    (de.comp.hardware.laufwerke.festplatten)
  • Re: Seagate Barracuda 300 Gbytes
    ... Hat Seagate weder hier noch da. ... But after a while I learned the trick of speaking fast. ...
    (de.comp.hardware.laufwerke.festplatten)
  • Re: Problem plotting files with many columns
    ... trick works. ... Best regards ... field separator is a semi-colon: ... set datafile separator ';' ...
    (comp.graphics.apps.gnuplot)