A. type specifier (int only) short int: = short 2 byte long int:long 8 byte = long output placeholder%ldsigned int: = signed default signed bit unsigned int: = uns igned remove the sign bit to hold the value long long int:= long long in 64-bit system or 8 bytes, with long no difference output placeholder%lld int s = sizeof (long long int);
printf ("s =%d\n", s); The B.char character occupies 3 bytes and cannot be used with Char C. Array special declaration, definition method int ages[5] = {[2] = 4, [4] = 1}; int count = 5;int Ages[count]; Error: int D[count] = {1,2,3,4,5}; The array size must use a constant array as a function parameter when the array length array is omitted as a function parameter is a pointer passed as an array of parameters when using sizeof, the array as a pointer exists, Length is 8 bytes
[C language-1.2] type specifier, character, array