3. Character literal is assigned to a:
(a) char variable (b) char type literal (c) strin
Answers
Answered by
1
Answer:
A character literal is a type of literal in programming for the representation of a single character's value within the source code of a computer program.
Languages that have a dedicated character data type generally include character literals; these include C, C++, Java,[1] and Visual Basic.[2] Languages without character data types (like Python[3] or PHP[4]) will typically use strings of length 1 to serve the same purpose a character data type would fulfil. This simplifies the implementation and basic usage of a language but also introduces new scope for programming errors.
Similar questions
Social Sciences,
3 months ago
Math,
3 months ago
English,
3 months ago
Social Sciences,
6 months ago
English,
11 months ago
Biology,
11 months ago
Science,
11 months ago