User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







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;
}

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/datatypes/int.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz