Computer Science, asked by jaisboizgopal, 6 months ago

3. Character literal is assigned to a:
(a) char variable (b) char type literal (c) strin​

Answers

Answered by prernakumari6235
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