目前本站已有 十几万 份求职资料啦!


笔试题(sizeof)

10-16 00:00:09 来源:http://www.qz26.com 笔试题目   阅读:8850
导读:以下为Windows NT下的32位C++程序,请计算sizeof的值(10分)char str[] = “Hello” ; char *p = str ;int n = 10;请计算sizeof (str ) = 6 (2分)sizeof ( p ) = 4 (2分)sizeof ( n ) = 4void Func ( char str[100]){请计算sizeof( str ) = 4 (2分)}void *p = malloc( 100 );请计算sizeof ( p ) = 4 (2分)
笔试题(sizeof),标签:银行笔试题目,企业笔试题目,http://www.qz26.com

以下为Windows NT下的32位C++程序,请计算sizeof的值(10分)


char str[] = “Hello” ;

       char    *p = str ;
int n = 10;

请计算

sizeof (str ) = 6 (2分)

sizeof ( p ) = 4 (2分)

sizeof ( n ) = 4


void Func ( char str[100])

{

请计算

sizeof( str ) = 4 (2分)

}


void *p = malloc( 100 );

请计算

sizeof ( p ) = 4 (2分)


Tag:笔试题目银行笔试题目,企业笔试题目求职笔试面试 - 笔试题目
【字号: 】 【打印】 【关闭
最新更新
推荐热门
联系我们 | 网站地图 | 财务资料 | 范文大全 | 求职简历 | 财会考试 | 成功励志
Copyright 二六求职资料网 All Right Reserved.
1 2 3 4 5 6 7 8 9 10