Google News
logo
CPP - Quiz(MCQ)
What is the difference between unsigned int length() and unsigned int size()?
A)
Returns a different value but they are same
B)
Returns a different value
C)
Returns a length
D)
They are same

Correct Answer :   They are same


Explanation : Both of them will return the length of strings in the same notations.

Advertisement