Computer Science, asked by hcx2603, 1 year ago

48 What is the output of the following?
char c= 'A':
short m=26
int n= c + m;
System.out.println(n);

Answers

Answered by anupama777vidya
3

Ascii value of A=65

Ascii value of m=109

Therefore ,the output is

174

Hope it helps..

Answered by utkarshmishra9819
4

Answer:

Tge ASCII va value of Of 'A'=65

n =65+26

hence the output would be

91

Similar questions