User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:datatypes:int
click
to support this page (eg 0,42 € or so) Thanks.

int

  int    Integer
  4byte*
  signed: -2147483648 - 2147483647
  unsigned: 0 - 4294967295
  
  2byte
  signed -32768 - 32767
  unsigned: 0 - 65535
  
  *hardware-dependent
  it is also possible that int 2Bytes big is
  On a 32 bit system it is 4 bytes

You can use to find it out ;)

C Sourcecode Example

#include <stdio.h> /* including standard library */
//#include <windows.h> /* uncomment this for Windows */
 
 
int main(void)
{
   printf("int: %d bytes\n", sizeof(int) );
   return 0;
}
advertising
c/datatypes/int.txt · Last modified: 2013/01/22 22:02 (external edit)

Impressum