Exam-style question
Try this first
Which statement best describes a character data type?.
- A.It stores a sequence of characters of any length
- B.It stores a single character
- C.It stores a memory address
- D.It stores a collection of records
Answer and explanation
Concise answer
It stores a single character
Why this is correct
A character data type is used for one character, whereas a string is used for a sequence of characters.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
