|Size of ints?
|Page 1 of 1|
|Author:||NeXT-Generation [ Sun Sep 02, 2012 11:04 am ]|
|Post subject:||Size of ints?|
What is the size of ints in RobotC? 2 bytes? 4 bytes?
|Author:||mightor [ Sun Sep 02, 2012 11:54 am ]|
|Post subject:||Re: Size of ints?|
int is 2 bytes
short is 2 bytes (it's an int)
long is 4 bytes
float is 4 bytes
You can test this using the sizeof() operator to check the size of things
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group