SHARE
TWEET

cdatatypes

a guest Dec 3rd, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \resizebox{6.70cm}{!}{%
  2. \begin{tabular}{|l|l|l|}
  3. \hline
  4. \textbf{Type}  & \textbf{Storage size} & \textbf{Value range}                                 \\ \hline
  5. char           & 1 byte                & -128 to 127 or 0 to 255                              \\ \hline
  6. unsigned char  & 1 byte                & 0 to 255                                             \\ \hline
  7. signed char    & 1 byte                & -128 to 127                                          \\ \hline
  8. int            & 2 or 4 bytes          & -32,768 to 32,767 or -2,147,483,648 to 2,147,483,647 \\ \hline
  9. unsigned int   & 2 or 4 bytes          & 0 to 65,535 or 0 to 4,294,967,295                    \\ \hline
  10. short          & 2 bytes               & -32,768 to 32,767                                    \\ \hline
  11. unsigned short & 2 bytes               & 0 to 65,535                                          \\ \hline
  12. long           & 8 bytes               & -9223372036854775808 to 9223372036854775807          \\ \hline
  13. unsigned long  & 8 bytes               & 0 to 18446744073709551615                            \\ \hline
  14. \end{tabular}%
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top