大学职业资格刷题搜题APP
下载APP
课程
题库模板
Excel题库模板
Word题库模板
PDF题库模板
A1-A4/B1型题
答案在末尾
答案分章节末尾
题库创建教程
创建题库
登录
logo - 刷刷题
创建自己的小题库
搜索
【简答题】

在设备驱动程序(函数)Dev_drv1中,对指针ptr的说明如下:
【C语文代码】
int Dev_drv1(int arg1,int arg2 )
{
struct node {
int ID;
char name [20];
int range;
} ;
struct node *ptr;
/*其他局部变量声明,略*/
ptr = (struct node *)malloc(sizeof(struct node)*100);
/*其他程序代码,略*/
}
设int为32位整数,char占8位。当对指针ptr赋完值后的值为0x3751CO,若再执行一条“ptr++;”语句,此时ptr的值为多少? (用十六进制表示)。

手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
收藏 - 刷刷题收藏
举报
刷刷题
参考答案:
举一反三

【单选题】Password is a secret series of 5 that enables a user to access a file, computer, or program. On multi-user systems, each user must enter his or her password before the computer will respond to 6 ....

A.
在函数内只能访问局部变量,而不能访问全局变量
B.
局部变量与全局变量的名字不得相同
C.
若一个函数被多次调用,则其定义的局部变量必定分配同一个存储单元
D.
函数中定义的局部变量与全局变量同名时,在函数内引用的是局部变量
相关题目:
【单选题】Password is a secret series of 5 that enables a user to access a file, computer, or program. On multi-user systems, each user must enter his or her password before the computer will respond to 6 ....
A.
在函数内只能访问局部变量,而不能访问全局变量
B.
局部变量与全局变量的名字不得相同
C.
若一个函数被多次调用,则其定义的局部变量必定分配同一个存储单元
D.
函数中定义的局部变量与全局变量同名时,在函数内引用的是局部变量
刷刷题-刷题-导入试题 - 刷刷题
参考解析:
题目纠错 0
发布
刷刷题-刷题-导入试题 - 刷刷题刷刷题-刷题-导入试题 - 刷刷题刷刷题-刷题-导入试题 - 刷刷题
刷刷题-刷题-导入试题 - 刷刷题
刷刷题-刷题-导入试题 - 刷刷题
刷刷题-单词鸭