Skip to content
Question Bank (2 marks) · Q15

Q.What is a character constant? Give an example.

Karnataka PUCTextbookShort· 2mImportance★★★★★est
49% · 76/154 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

A character constant is one character in single quotes, for example 'A'.

A character constant is a single character written within single quotation marks, such as 'A', 'z', '9' or '+'. Internally it is stored as the ASCII code (an integer) of that character; for example 'A' is stored as 65. Only one character is allowed betw …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.