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

I was thinking since the size of pointer variable is different in the 2
configurations, we can declare a pointer and use sizeof()
Will that work?
Any other suggestions?

-- 
Nikhil Gupta

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to