User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:datatypes:long

long

  #include <stdio.h> /* including standard library */
  //#include <windows.h> /* uncomment this for Windows */
  long
  4 Byte
  signed: -2147483648 - 2147483647
  unsigned:  0 - 4294967295
  
  8 Byte
  signed: -9223372036854775808 - 9223372036854775807
  unsigned: 0 - 18446744073709551615
  

C Sourcecode Example

#include <stdio.h> /* including standard library */
//#include <windows.h> /* uncomment this for Windows */
 
 
int main(void){
printf("long: %ld bytes\n", sizeof(long) );
}
return 0;

on the occasion of the current invasion of Russia in Ukraine

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

Impressum Datenschutz