Feb 10 2008 07:14 PM 2365 4 based on type conversion kartik1218 main(){ printf("%d",(2.5*2.5));}above gives output of 0 plss explain kernel32 Profile Answers by kernel32 Questions by kernel32 May 22nd, 2008 Agreed except that we loose 6 bytes, rather we can say sizeof(double) - sizeof(int). As in case of linux we loose 4 bytes as sizeof(int) == 4 bytes sachinpatil Profile Answers by sachinpatil Questions by sachinpatil Feb 14th, 2008 by default the real number constants (i.e. 2.5 3.14 etc) are considered as double. Double is stored using IEEE floating point standard. the (2.5 *2.5) gives double. when this double is passed to ... Answer Question Select Best Answer
Feb 10 2008 07:14 PM 2365 4 based on type conversion kartik1218 main(){ printf("%d",(2.5*2.5));}above gives output of 0 plss explain kernel32 Profile Answers by kernel32 Questions by kernel32 May 22nd, 2008 Agreed except that we loose 6 bytes, rather we can say sizeof(double) - sizeof(int). As in case of linux we loose 4 bytes as sizeof(int) == 4 bytes sachinpatil Profile Answers by sachinpatil Questions by sachinpatil Feb 14th, 2008 by default the real number constants (i.e. 2.5 3.14 etc) are considered as double. Double is stored using IEEE floating point standard. the (2.5 *2.5) gives double. when this double is passed to ... Answer Question Select Best Answer
kernel32 Profile Answers by kernel32 Questions by kernel32 May 22nd, 2008 Agreed except that we loose 6 bytes, rather we can say sizeof(double) - sizeof(int). As in case of linux we loose 4 bytes as sizeof(int) == 4 bytes
sachinpatil Profile Answers by sachinpatil Questions by sachinpatil Feb 14th, 2008 by default the real number constants (i.e. 2.5 3.14 etc) are considered as double. Double is stored using IEEE floating point standard. the (2.5 *2.5) gives double. when this double is passed to ...