Advertisements
Advertisements
Question
A string is:
Options
A set of letters
A set of letters and digits
A set of letters, digits and special characters
All the above
MCQ
Solution
All the above
Explanation:
A string is an order of characters that may include:
- Letters (uppercase and lowercase)
- Digits
- Special characters, such as !, @, #, etc.
As a result, all of the opportunities listed (letters, letters digits, letters, digits, and special characters) are part of a string.
shaalaa.com
Is there an error in this question or solution?