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;
advertising
c/datatypes/long.txt · Last modified: 2013/01/22 22:02 (external edit)

Impressum Datenschutz