Help us and donate little Bitcoins to pay the server costs: 1AXLPuRUBYc1JczTW4XS65GL6oWjNP2Vt2

User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer







because of the inhumane working conditions at amazon in Germany, I will offer the Amazon app no more! (ARD Reportage)
c:datatypes:int

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)

The new Question & Answer System is online and waiting for your Questions about Programming problems http://ask.code-reference.com Impressum