In line 21 why it is printing 28 it shuld be 28 in my code and if i inlcude string modal then how its size change to 64

#include
using namespace std;

class mobile{
public:
int price;
// string modal;
int storage;
int ram;
float version;
char cpuname[10];

 void listen_song(){
    cout<<"l.l.l.ll... kabhi use noor noor khata hu kabhi use hoo hoor khta hu isk me choor choor rhtA  hu  door na jaa :)"<<endl;
}

};

int main() {
mobile kailash;
cout<<sizeof(kailash)<<endl;
cout<<sizeof(mobile)<<endl;

kailash.price=16000;
kailash.storage=64;
kailash.cpuname[0]=‘o’;
kailash.cpuname[1]=‘c’;
kailash.cpuname[2]=‘t’;
kailash.cpuname[3]=‘a’;
kailash.cpuname[4]=‘c’;
kailash.cpuname[5]=‘o’;
kailash.cpuname[6]=‘r’;
kailash.cpuname[7]=‘e’;
// kailash.modal=“note 7pro”;

kailash.listen_song();
cout<<kailash.cpuname<<endl;
cout<<kailash.price<<endl;
// cout<<kailash.modal<<endl;
return 0;
}

@kailash_01
Please send your code on CB IDE

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.