Programming Reference/Librarys
Question & Answer
Q&A is closed
#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
#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;