COMPUTER SOFTWARE
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The characters of the string are shown inside ____
|
paranthesis
|
|
brackets
|
|
quote marks
|
|
None of the above
|
Explanation:
Detailed explanation-1: -The simplest way to specify a string is to enclose it in single quotes (the character ‘ ). To specify a literal single quote, escape it with a backslash ( ).
Detailed explanation-2: -A series of characters enclosed in matching quotation marks is called a literal string. The following examples both contain literal strings. SAY ‘This is a REXX literal string.’
Detailed explanation-3: -To represent a double quotation mark in a string literal, use the escape sequence ’´ . The single quotation mark ( ‘ ) can be represented without an escape sequence. The backslash ( ) must be followed with a second backslash (
There is 1 question to complete.