हिंदी

Write the value of n after execution: char ch = 'd'; int n = ch+5;

Advertisements
Advertisements

प्रश्न

Write the value of n after execution:

char ch = 'd';
int n = ch+5;
संख्यात्मक
Advertisements

उत्तर

105

Explanation:

ASCII code of 'd' is 100.

∴ 100 + 5 = 105

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ५०]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 1 Revision of Class 9 Syllabus
Exercises | Q 12. | पृष्ठ ५०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×