Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
int main() { int value = 1024; printf( "%d \n", value); // Integer printf( "%o \n", value); // Octal printf( "%x \n", value); // Hexadecimal printf("%#o \n", value); // Octal with "0" prefix printf("%#X \n", value); // Uppercase hexadecimal with "0X" prefix return 0; }
1024
2000
400
02000
0X400