42.3k views
4 votes
. String literals are surrounded by _____ quotes

User Nwly
by
5.3k points

1 Answer

1 vote

Answer:

double quotes

Step-by-step explanation:

In general all string literals are surrounded by double quotes(" ").

EX: string simple="This is simple string";

Each character in the string literal occupies 1 byte memory. All strings are terminated by '\0' character. It indicates the end of the string. If it is character

literal then we can enclose it in '' single quotes. Each character in the string is represented in the form of ACII value(ASCII stands for American Standard Code for Information Interchange).

User Thomas Lumley
by
5.6k points