0

What is the value of "a"?

int a=010 A.10 B.-10 C.8 D.2 What is the answer?

13th Dec 2016, 7:51 AM
劳英勇
劳英勇 - avatar
3 Réponses
+ 2
C. compiler sees this number in octal base
13th Dec 2016, 8:27 AM
Leonida17st
Leonida17st - avatar
+ 2
invalid token error
13th Dec 2016, 9:58 AM
Sun
Sun - avatar
0
The answer is C.So?
13th Dec 2016, 8:56 AM
劳英勇
劳英勇 - avatar