State the value for x if :
char a = 'A'; int x;
x = a=='a' ? 'A' : 'a';
Answers
Answered by
2
Answer:
x = 97
Explanation:
char a = 'A';
int x;
a ==> 'A'
x ==> 0
x = a = = 'a' ? 'A' : 'a';
a ==> 97
Similar questions