CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following is not a character constant?


A

6

Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B

G

No worries! We‘ve got your back. Try BYJU‘S free classes today!
C

D

No worries! We‘ve got your back. Try BYJU‘S free classes today!
D

T

No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A

6


Answer: (A) ‘6’

6 is not a character constant.

Enclosing a single character from the representable character set within single quotation marks (‘ ‘) forms a character constant. Character constants are being used to represent characters in the execution character set.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Epics: Ramayana and Mahabharata
HISTORY
Watch in App
Join BYJU'S Learning Program
CrossIcon