+ 1
<?php $RESULT = 11 + 011 + 0x11; echo "$RESULT"; ?>
can anyone solve this..... What is ans of this......
2 Answers
+ 1
You can run this on your own in the code playground
11 = 11 (decimal)
011 = 9
0x11 = 17
Ans is 37
+ 2
11 + 11 in octal + 11 in hex
first convert them all to decimal first its should be pretty easy because evertything is 11