English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What will be the result of following statement? char ch= ‘B’; cout << (int) ch; - Computer Science

Advertisements
Advertisements

Question

What will be the result of the following statement?

char ch= ‘B’;

cout << (int) ch;

Options

  • B

  • b

  • 65

  • 66

MCQ

Solution

66

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 3. | Page 150
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×