Saturday, December 5, 2009

How to find out if a machine is 32 bit or 64 bit?

n = sizeof(void *);


if n==8, than 64 bit 
if n==4, than 32 bit.

0 comments:

Post a Comment