English

A character literal is always enclosed in double quotes. - Computer Applications

Advertisements
Advertisements

Question

A character literal is always enclosed in double quotes. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

A character literal is enclosed in single quotations rather than double quotes. For example, 'A' is a character literal, while "A" is a string literal. 

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - EXERCISES [Page 32]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.03 Values and Data Types
EXERCISES | Q II. 6. | Page 32
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×