Hi, @Gajendra, I am using gcc compiler and using only math library (-lm). I tried copying the a.out generated in 32 bit OS to 64 bit OS and it worked fine. I did gdb on a.out generated in 64 bit OS and traced the point of of segmentation fault. But could not figure out why.
Pushparaj Shetty D. Research Scholar Dept. of Mathematics IIT Delhi Cell# 9212370093 -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
