What would be the value of X after the execution of the following?
int x,y =10
char z = ‘a’
x = y+z;
Answers
Answered by
10
Answer:
107
Explanation:
the complete input output is attached below
the reason behind integer output is we have declare x as integer
so output will be an integer value,As we know that ASCII value of
a = 97
y =10
x=a=y
x=97+10
x=107
Attachments:
Similar questions
Math,
7 months ago
Science,
7 months ago
Political Science,
7 months ago
Math,
1 year ago
English,
1 year ago