0
How it execute 34
#include <stdio.h> int main() {int i; i= 0x10 + 010+10; printf ("%d",i); return 0; }
2 Antworten
+ 6
😂😂
Wow fun equation
0x10 is equal to 16 in hexidecimals
So we have: i = 16
010 is equal to 8 in octal
So we have: i = 16 + 8 (=24)
And 10 is just equal to 10
So: i = 16 + 8 + 10 = 34
😊
+ 3
0x10 (hexadecimal) = 16 (decimal)
010 (octal) = 8 (decimal)
16 + 8 + 10 results in 34 ...