Hi gkarthi29, > Still i cannot believe that there is no option is linux compilers to > dereference the null pointer as like in AIX and some other HP server. > strange. %-| Linux compiler? GCC predates Linux. GCC is a compiler for a variety of platforms: AIX, HP, Windows, BSD, and many others. Dereferencing a NULL pointer is undefined behavior. You could crash your applications, with a SEGV. You could do something benign. You could format the hard drive. You could... DESTROY THE WORLD. What you probably won't get is the behavior you want. Even on AIX or HP. Sincerely, --Eljay