问题详情
以下为 Windows NT 下的 32位 C++程序,请计算 sizeof的值
char str[] = “Hello” ; char *p = str ;int n = 10;请计算 sizeof (str )
= sizeof (p ) = sizeof (n ) = void Func (
char str[100]){请计算 sizeof(str ) = }
void *p = malloc(100 );请计算 sizeof (p ) =
请帮忙给出正确答案和分析,谢谢!