Can you determine output of following one liner by visual inspection..
It had won an award in obfuscated C contest.....
main() { printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0×60);}
You can also list your favourite one liner...
I get the following when attempting to compile this code:
oneliner.c:1: warning: return type defaults to 'int'
oneliner.c: In function 'main':
oneliner.c:1: warning: implicit declaration of function 'printf'
oneliner.c:1: warning: incompatible implicit declaration of built-in
function 'printf'
oneliner.c:1: error: 'unix' undeclared (first use in this function)
oneliner.c:1: error: (Each undeclared identifier is reported only once
oneliner.c:1: error: for each function it appears in.)
oneliner.c:1: error: stray '\327' in program
oneliner.c:1: error: expected ')' before numeric constant
oneliner.c:1: warning: control reaches end of non-void function
So much for output.