int main()
{
int send_array[100];
cout << sizeof(send_array) << endl; // 整个数组在栈上占的字节数 400
cout << sizeof(send_array) / sizeof(*send_array) << endl; // 数组长度 100
int *arr = new int[100];
cout << sizeof(arr) << endl; // arr这个指针在栈上占的字节数 8
delete[] arr;
return 0;
}