Question & Answer » GK Questions » Which of the following is Not a Character Constant? (A) ‘6’ (B)’ G’ (C) ‘D’ (D)’T’

Which of the following is Not a Character Constant? (A) ‘6’ (B)’ G’ (C) ‘D’ (D)’T’

Answer: 6 isn’t a constant character.

As long as the character is enclosed in quotation marks (“), it is considered to be an enclosing character constant. During the execution of a programme, characters in the character set are represented by character constants.

At least one character is enclosed in a single statement, such as “A,” “+,” or “n,” as a character is constant. Single-character constants in mikroC PRO for PIC are unsigned ints.

A single letter, digit, or single unique image enclosed in single rearranged commas constitutes a solitary character constant or steady. The left should be highlighted by both the commas that are upset.