#include<iostream>
using namespace std;
void testSize(char str[100]){
printf("%d\n", sizeof(str));
printf("%d\n", strlen(str));
}
int main(){
char str[] = "nowcoder";
printf("%d\n", sizeof(str));
printf("%d\n", strlen(str));
char *p = str;
printf("%d\n", sizeof(p));
testSize(str);
return 0;
}
//result :9 8 4 4 8