博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
用变量a给出下面的定义:一个有10个指针的数组,该指针指向一个函数,该函数有一个整形参数并返回一个整型数
阅读量:2386 次
发布时间:2019-05-10

本文共 465 字,大约阅读时间需要 1 分钟。

用变量a给出下面的定义:一个有10个指针的数组,该指针指向一个函数,该函数有一个整形参数并返回一个整型数

正确答案: D   你的答案: D (正确)

int *a[10];
int (*a)[10];
int (*a)(int);
int (*a[10])(int);

int *a[10];   //指向int类型的指针数组a[10] int (*a)[10]; //指向有10个int类型数组的指针a int (*a)(int);//函数指针,指向有一个参数并且返回类型 均为int的函数 int (*a[10])(int); //函数指针的数组,指向有一个参数并且返回类型均为int的函数的数组

int *a[10];   //指向int类型的指针数组a[10] int (*a)[10]; //指向有10个int类型数组的指针a int (*a)(int);//函数指针,指向有一个参数并且返回类型 均为int的函数 int (*a[10])(int); //函数指针的数组,指向有一个参数并且返回类型均为int的函数的数组

转载地址:http://oziab.baihongyu.com/

你可能感兴趣的文章
写给换工作和找工作的同学
查看>>
Island Hopping the SpiderLabs Way
查看>>
Top Ten Web Protection Techniques of 2011
查看>>
Faster Blind MySQL Injection Using Bit Shifting
查看>>
Safely Dumping Hashes from Live Domain Controllers
查看>>
PHP CGI Argument Injection
查看>>
sgx模拟器
查看>>
SGX相关资源
查看>>
nessus 购买地址
查看>>
Google Security Architecture
查看>>
xssf-cross-site-scripting-framework-v30
查看>>
OAuth2 Security
查看>>
Hacking Java Applications using JavaSnoop
查看>>
Yes Small Companies Can – and Should – Build Secure Software
查看>>
分布式海量日志采集、聚合和传输系统:Cloudera Flume
查看>>
开源堡垒机参考
查看>>
渗透测试技巧分享
查看>>
Mongodb - Security Weaknesses in a typical NoSQL database
查看>>
MongoDB服务器端的JavaScript注入
查看>>
Discuz防注入函数绕过方法分析及没用心的修复补丁
查看>>