Google News
logo
CPP - Quiz(MCQ)
What will happen if a string is empty?
A)
Raises an error
B)
It can be used
C)
It cannot be used
D)
It can’t be created

Correct Answer :   It can be used


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

Advertisement