#include <stdio.h> int main() { unsigned char num1 = 256; unsigned int num2 = 65536; long long double num3 = 9223372036854775808; return 0; }
Standard input is empty
prog.c: In function ‘main’: prog.c:5:26: warning: large integer implicitly truncated to unsigned type [-Woverflow] unsigned char num1 = 256; ^~~ prog.c:7:15: error: both ‘long long’ and ‘double’ in declaration specifiers long long double num3 = 9223372036854775808; ^~~~~~ prog.c:7:29: warning: integer constant is so large that it is unsigned long long double num3 = 9223372036854775808; ^~~~~~~~~~~~~~~~~~~
Standard output is empty