cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how big is a char datatype one a 32bit a
how big is a char datatype one a 32bit and 64bit computer?
Mar 26, 2011 at 7:36am UTC
unregistered
(199)
as above for a
1) 32bit
2) 64bit
computer
Last edited on
Mar 26, 2011 at 7:36am UTC
Mar 26, 2011 at 7:37am UTC
firedraco
(6243)
It would be the same (1 byte).
Mar 26, 2011 at 8:11am UTC
WSiaB
(15)
Most systems use the char = 8 bits = 1 byte.
The difference between 32 and 64 bit OS's has to do with the memory addresses and size of data as it is processed (bus, etc). The amount of memory used by data is the same.
Last edited on
Mar 26, 2011 at 8:13am UTC
Mar 26, 2011 at 8:56am UTC
techie07
(18)
Architecture doesn;t affect char data type.
Gorav
http://www.kgsepg.com
Mar 26, 2011 at 7:23pm UTC
hanst99
(2869)
It's always 1 byte, but 1 byte isn't always 8 bits in C++.
Topic archived. No new replies allowed.