sizeof (int) gives me 4 bytes...is it sufficient to say that my machine is of type 32-bit
SpS 34 Posting Pro
Recommended Answers
Jump to Post>sizeof (int) gives me 4 bytes...is it sufficient to say that my machine is of type 32-bit
For your intended purposes, it probably is sufficient. But even if a machine supports 32-bit integers or has a 32-bit address space that doesn't mean it's a 32-bit machine. The term 32-bit machine …
Jump to Post>Actually, it says nothing at all about the system.
That's what I said. There's no guarantee.
Jump to Post>I guess byte is always equal to 8 bits
Maybe it is in your sheltered little world. But no, a byte is not always an octet (which is 8 bits).
All 12 Replies
Ene Uran 638 Posting Virtuoso
chrisbliss18 26 Posting Shark
Rashakil Fol 978 Super Senior Demiposter Team Colleague
Narue 5,707 Bad Cop Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Narue 5,707 Bad Cop Team Colleague
Rashakil Fol 978 Super Senior Demiposter Team Colleague
SpS 34 Posting Pro
Narue 5,707 Bad Cop Team Colleague
SpS 34 Posting Pro
Narue 5,707 Bad Cop Team Colleague
SpS 34 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.