About Me

My Photo
Rajgopal Vaithiyanathan.
I did my B.Tech in Amrita University, CBE and currently working as a Researcher in TCS Innovation Labs - Delhi.
Well, I'm a programming enthusiast. You can check out some of my projects here.. Orkut Code Poster, ChatterBox
My friends and I in college wrote a file system for Linux. You can look up it's details in this blog. PFS - by Inodz
And my personal blog's here : The Void Pointer
Happy Blogging :)

Thursday, August 20, 2009

Who am i ?


The code written below is a perfectly standardized C code (would u believe it?). Read the entire code once and then try running this code to see WHO AM I !!
Compile instructions.
first :Copy the code and save it as "raj.c"
GCC COMPILER -
$ cc raj.c
$ ./a.out

TC
put raj.c in the forder containing TC.EXE
Open TC
File > Open : raj.c
Press CTRL+F9 to run the code
Press CTRL+F5 to see the output.


//////////////////////////////////////////////////////////////////////
// USE GOOGLE CHROME SEE THE CODE.
// IN IE OR FIREFOX, ZOOM IN SO THAT THE BLOG FILLS UP THE WIDTH OF
// ... THE SCREEN.
//////////////////////////////////////////////////////////////////////
#include                               <stdio.h >
#define                                CSTR             char*STR
#define                                a                       =
#define                                F                       ,
main(){
CSTR     a         "I AM THE MASTER OF C ; U WANT TO KNOW WHO I AM ? \
EXECUTE THIS CODE AND SEE\
KTQRIDEQIDFQBAEEEFDJEEECJBJDEDJCIBFKEBPMDBOMEBIAFHIBIBFEDAFBICFBDEDBI\
EEADEDBIFRBIHPBD_D^E]E]" ;
int     ____________                                                ,

         R   a  'J'                                                 ,
         ___________                                                ,
        A   a   R   F
        E   a   1   F
        C   a   E   ;
for     (   ;   A a STR [ R++ ]     ;   )
for     (   ;   A >= 'A' ;--A,++C       )
putchar (   C%'#'   ?    33 ^   !(R&1   )
        :   '#'     /    3.5            );
}
//////////////////////////////////////////////////////////////////////


This is one OBFUSCATED C code written by me.
I took 45 minutes[approx] to understand the original inda map obfuscated code. I again took 45 minutes to code this program. This code has exactly the same logic of the India map code. Once i finished it, I felt like GOD :)

0 comments:

Post a Comment