write a C/C++ program to find if a machine is 32 bit or 64 bit
<p>I searched in web, could not get any program.<br>
I found following links <a href="http://stackoverflow.com/questions/2601540/size-of-machine-64-or-32-bit">size of machine 64 or 32 bit</a> and <a href="http://stackoverflow.com/questions/3113958/processing-files-in-64-bit-machine-but-developing-in-32-bit-machine">processing files in 64 bit machine but developing in 32 bit machine</a>.<br>
Now it is clear that sizeof(int*) is not the way. Because it will return 4/8 based on the architecture of the machine used for compilation. So then how to find it?<br>
Condition: do not use any system/os/library call.<br>
Actually it is a question asked in the interview.</p>
