Q: 1 A sequence of alphabet, digits and symbols enclosed within double quotation mark is called a ___________.
Constant
String
Variable
Literals
[ Option B ]
In C, a String is a sequence of characters, which can include letters, digits, and symbols, enclosed within double quotation marks " ". For example, "Suraku Academy!" is a string.
Q: 2 The string is always terminated with __________ character.
Semicolon
Null Character
Double Quotes
Square Brackets
[ Option B ]
In C, strings are sequences of characters stored in memory. To indicate the end of a string, C automatically adds a special character called the null character, written as