以下为Windows NT 下的32 位C++程序,请计算sizeof 的值
void Func ( char str[100])
{
请计算
sizeof( str ) = 4 (2 分)
}
char str[] = “Hello” ;
char *p = str ;
int n = 10;
请计算
sizeof (str ) = 6 (2 分)
sizeof ( p ) = 4 (2 分)
sizeof ( n ) = 4 (2 分)
void *p = malloc( 100 );
请计算
sizeof ( p ) = 4 (2 分)
{
请计算
sizeof( str ) = 4 (2 分)
}
char str[] = “Hello” ;
char *p = str ;
int n = 10;
请计算
sizeof (str ) = 6 (2 分)
sizeof ( p ) = 4 (2 分)
sizeof ( n ) = 4 (2 分)
void *p = malloc( 100 );
请计算
sizeof ( p ) = 4 (2 分)
【以下为Windows NT 下的32 位C++程序,请计算sizeof 的值】相关文章
1. 以下为Windows NT 下的32 位C++程序,请计算sizeof 的值
4. Windows系统面试题
7. 如何将无状态会话Bean发布为WEB服务,只有无状态会话Bean可以发布为WEB服务?
9. 编写一子程序,将一链表倒序,即使链表表尾变表头,表头变表尾
10. 软件测试LoadRunner面试题:If you want to stop the execution of your script on error, how do you do that?
本文来源:https://www.mianshiwenti.com/a13060.html
进入下载页面
﹝以下为Windows NT 下的32 位C++程序,请计算sizeof 的值﹞相关内容
- 软件测试LoadRunner面试题:What do vuser_init action and vuser_end action contain?
- 关键字throw与throws的用法差异
- JAVA语言如何进行异常处理,关键字:throws,throw,try,catch,finally分别代表什么意义?在try块中可以抛出异常吗?
- 以下的初始化有什么区别
- 我有一个char * 型指针正巧指向一些int 型变量, 我想跳过它们。 为什么如下的代码((int *)p)++; 不行?
- 为什么如下的代码int a=100,b=100;long int c=a * b;不能工作
- How to detect and cleanup pending transactions in Oracle
- 软件测试LoadRunner面试题:How do you identify the performance bottlenecks
- 某/etc/fstab文件中的某行如下: /dev/had5 /mnt/dosdata msdos defaults,usrquota 1 2 请解释其含义
- 软件测试LoadRunner面试题:What is the difference between standard log and extended log?