Skip to content

Instantly share code, notes, and snippets.

@Marzogh
Created June 23, 2015 16:08
Show Gist options
  • Save Marzogh/3f62428fc9ef5a602237 to your computer and use it in GitHub Desktop.
Save Marzogh/3f62428fc9ef5a602237 to your computer and use it in GitHub Desktop.
Datatypes
1. void --> Returns no information
2. boolean --> 8 bit (0 or 1)
3. char --> signed 8-bit (-128 to 127)
4. Unsigned char/byte --> unsigned 8-bit (0 to 255)
5. int/short --> signed 16-bit (-32,768 to 32,767)
Due --> signed 32-bit (-2,147,483,648 to 2,147,483,647)
6. unsigned int/word --> unsigned 16-bit (0 to 65,535)
Due --> unsigned 32-bit (0 to 4,294,967,295)
7. long --> signed 32-bit (-2,147,483,648 to 2,147,483,647)
8. unsigned long --> signed 32-bit (0 to 4,294,967,295)
9. float --> signed 32-bit (-3.4028235E+38 to 3.4028235E+38)
10. Double --> signed 32-bit (-3.4028235E+38 to 3.4028235E+38)
Due --> signed 64-bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment