Home » C++ Programming » Strings » Question
  1. What will happen if a string is empty?
    1. It can be used
    2. It can’t be created
    3. Raises an error
    4. All of above
    5. None of these
Correct Option: A

An empty string is a character array with the NULL character in the zeroth index position.



Your comments will be displayed only after manual approval.