Computer Science, asked by shuklaarman3, 7 months ago

b) What will be the output of the following code?
char x='A', y='b';
int m= x + y;
System.out.println ("m = "+m);​

Answers

Answered by dattarajshinde44
0

Answer:

m = 163

Hope It Helps

Answered by anindyaadhikari13
1

Output:-

163

Step By Step Explanation:-

Given,

char x='A', y='b';

int m= x + y;

System.out.println ("m = "+m);

ASCII value of A is 65.

ASCII value of b is 98.

m=65+98=163.

m is printed. So, output is 163.

Similar questions