C++面试题

当前位置: 面试问题网 > C++面试题 > 以下为Windows NT 下的32 位C++程序,请计算sizeof 的值

以下为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 分)

【以下为Windows NT 下的32 位C++程序,请计算sizeof 的值】相关文章

1. 以下为Windows NT 下的32 位C++程序,请计算sizeof 的值

2. C#如何调用Windows程序打开一个文档

3. WINDOWS域的具体实现方式是什么

4. Windows系统面试题

5. 解释一下Windows的消息机制

6. Windows和Linux动态库应用异同

7. 如何将无状态会话Bean发布为WEB服务,只有无状态会话Bean可以发布为WEB服务?

8. 计算s=f(f(-1.4))的值

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 的值》

将本文的Word文档下载到电脑,方便收藏和打印

推荐程度:

进入下载页面

﹝以下为Windows NT 下的32 位C++程序,请计算sizeof 的值﹞相关内容

「以下为Windows NT 下的32 位C++程序,请计算sizeof 的值」相关专题

其它栏目

也许您还喜欢