10 lines
168 B
C
10 lines
168 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int main(){
|
||
|
int x = 100;
|
||
|
printf("dec = %d;octal = %o, hex = %x\n", x, x, x);
|
||
|
printf("dec = %d;octal = %#o, hex = %#x\n", x, x, x);
|
||
|
|
||
|
return 0;
|
||
|
}
|