int res=’A’; What is the value of res?
- A
- 66
- 65
- 97
Solution
(c)
65
Explanation:
Since res is an int variable and character changes to an int based on ASCII code,
and the ASCII value of 'A' is 65
Contact Us
REACH US
SERVICES
- CODING
- ON-LINE PREPARATION
- JAVA & PYTHON
ADDRESS
B-54, Krishna Bhawan, Parag Narain Road,
Near Butler Palace Colony Lucknow