State the values of n and ch.
char c=’A’;
int n=c+1;
char ch=(char)n;
In Java
Answers
Answered by
1
State the values of n and ch
char c = 'A';
int n = c+1;
char ch = (char) n;
The value of n = 66 ,. ch = B
Similar questions
Computer Science,
2 months ago
Business Studies,
2 months ago
Science,
5 months ago
English,
5 months ago
Math,
11 months ago