Hi all,
I created a string object and printed its size. Its always priniting output as 16. Why is it like that?
Can anyone give me idea about how string class is implemented.
I am using VC
string input;
cin>>input;
cout<<sizeof(input)<<input<<'\n';