Computer Science, asked by ameyaalsundekar5455, 1 year ago

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 nidaeamann
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