COMPUTER SCIENCE AND ENGINEERING
ALGORITHMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
True
|
|
False
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -A “string literal” is a sequence of characters from the source character set enclosed in double quotation marks ( “ “ ). String literals are used to represent a sequence of characters, which taken together form a null-terminated string. You must always prefix wide-string literals with the letter L .
Detailed explanation-2: -The double quotes (") symbol is used to delineate a string of text as in the C statement printf ("Press Enter now. "); . They are also used to delineate a phrase for searching.
Detailed explanation-3: -Double quotes are used to indicate identifiers within the database, which are objects like tables, column names, and roles. In contrast, single quotes are used to indicate string literals.
Detailed explanation-4: -A character string is often specified by enclosing the characters in single or double quotes.