#include <stdio.h>
#include <string.h>
#include <iostream>
using namespace std;
struct{
short a1;
short a2;
short a3;
}A;
struct{
long a1;
short a2;
}B;
int main(){
char * ss1 = "0123456789";
char ss2[] = "0123456789";
char ss3[100] = "0123456789";
int ss4[100];
char q1[]="abc";
char q2[]="a\n";
char* q3 = "a\n";
char* str1 = (char *)malloc(100);
char* str2 = (char *)malloc(100);
cout<<sizeof(ss1)<<endl;//4
cout<<sizeof(ss2)<<endl;//11
cout<<sizeof(ss3)<<endl;//100
cout<<sizeof(ss4)<<endl;//400
cout<<sizeof(q1)<<endl;//4
cout<<sizeof(q2)<<endl;//3
cout<<sizeof(q3)<<endl;//4
cout<<sizeof(A)<<endl;//6
cout<<sizeof(B)<<endl;//8
cout<<sizeof(str1)<<endl;//4
cout<<sizeof(str2)<<endl;//4
return 0;
}