#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(int argc, const char * argv[])
{
char a[] = "abcdefg";
char *str = "abcdefg";
printf("%d
",sizeof(str));
printf("%d
",strlen(str));
str = "gBGg";
printf("%d
",sizeof(str));
printf("%d
",strlen(str));
printf("%c
",*(str+2));
for (int i = 0; i < strlen(str); i ++) {
printf("%c\t", *(str+i));
}
printf("
");
char chs[] = "kkkdddfff";
chs[2]='G';
printf("%s
",chs);
char *p = NULL;
p = malloc(100);
scanf("%s",p);
printf("%s",p);
char *pp[100];
scanf("%s",pp);
printf("%s",pp);
printf("
");
return 0;
}