#include //size_t_size_type1.cpp using namespace std; int main() { string str1 ( "Hello world of string" ); basic_string ::size_type sizeStr1, capStr1, xchar; size_t myt; unsigned int n1; sizeStr1 = str1.size ( ); capStr1 = str1.capacity ( ); //xchar="Hello Wrold"; Not allowed, can't use a string //xchar ='H' ; // allowed cout << "The size of string str1 is: " << sizeStr1 << endl; cout << "The capacity of string str1 is: " << capStr1 << endl; myt = sizeof(str1); cout<< " myt = sizeof(str1) :" << myt <