If pointer size is 4bytes then it is 32 bit machine and if 8 bytes it is 64
bit

On Sat, Jul 30, 2011 at 11:51 AM, Nikhil Gupta <[email protected]>wrote:

> 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.
>



-- 
Regards
Rajeev N B <http://www.opensourcemania.co.cc>

"*Winners Don't do Different things , they do things Differently"*

-- 
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