Pls help me solve this and make me understand
Attachments:
Answers
Answered by
2
Answer:
n=66
ch =B
Explanation:
'A' has an ASCII value 65
when int n=c+1; implicit type conversion occurs(c gets converted into its ASCII value and gets an increment by 1)
but when char ch =(char)n; explicit type conversion occurs where the compiler is forced to convert the integer into its value according to data type which is char
Hope this helps
please mark me the brainliest and follow me
Answered by
5
Answer:
he is right
but I can't understand that answer
Similar questions