English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What is the output of the following snippet? char ch = ‘A’; ch = ch + 1; - Computer Science

Advertisements
Advertisements

Question

What is the output of the following snippet?

char ch = ‘A’;

ch = ch + 1;

Options

  • B

  • A1

  • F

  • 1A

MCQ

Solution

B

shaalaa.com
  Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section – A [Page 150]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 9 Introduction to C++
Data Types, Variables and Expressions - Evaluation - Section – A | Q 6. | Page 150
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×