当前位置: 首页 > news >正文

内蒙古住房建设部官方网站关键词排名

内蒙古住房建设部官方网站,关键词排名,怎么做建设网站首页,桓台县城乡建设局网站指针相关博客 打响指针的第一枪:指针家族-CSDN博客 深入理解:指针变量的解引用 与 加法运算-CSDN博客 第一题 1. 存在int类型变量x,y,z,其对应值为x0x59,y0x39,z0x6E,则x * y z的值…

指针相关博客

打响指针的第一枪:指针家族-CSDN博客

深入理解:指针变量的解引用 与 加法运算-CSDN博客

第一题

1. 存在int类型变量x,y,z,其对应值为x=0x59,y=0x39,z=0x6E,则x * y + z的值为()

A:1 0010 0111 0011

B:1 0100 0011 1111

C:1 0010 0111 0111

D:1 0110 0111 1111

答案及解析

本题考查进制之间的转换

x = 0x59 = 5*16 + 9*1 = 89;

y = 0x39 = 3*16 + 9*1 = 57;

z = 0x6E = 6*16 + 14*1 = 110;

x * y + z = 89*57 + 110 = 5183

二进制为:1 0100 0011 1111

第二题

2. 在64位机器上用gcc编译以上代码,求sizeof(struct A),sizeof(struct B)分别是多少()

struct A
{int a;short b;int c;char d;
};
struct B
{short b;int c;char d;
};

A:12 16

B:12 12

C:16 24

D:16 12

答案及解析 D

本题考查内存对齐规则,直接上博客,看完就懂

C/C++内存对齐规则(结构体、联合体、类)-CSDN博客

第三题

3. 如下函数的f(1)的值为()

int f(int n)
{static int i = 1;if(n >= 5)return n;n = n + i;i++;return f(n);
}

A:5

B:6

C:7

D:8

答案及解析 C

本题考查的是函数递归和static变量

首先局部static变量,只会初始化一次,存放在静态区;

所以i的值是一直增加的;

第四题

4. 32位系统下,对于下面的结构体A和B,sizeof(A), sizeof(B)的结果分别是()

#include <stdio.h>
#pragma pack(2)
struct A 
{int a;char b;short c;
};
#pragma pack()#pragma pack(4)
struct B 
{char b;int a;short c;
};
#pragma pack()int main() 
{printf(“%d %d\n”,sizeof(struct A),sizeof(struct B));return 0;
}

A:8,8

B:8,10

C:8,12

D:7,8

答案及解析 C

        这里涉及的是设置默认对齐数,设置的默认对齐数依旧是要和我们变量的自身对齐数做比较的,之后变量占的字节空间是自身的大小

C/C++内存对齐规则(结构体、联合体、类)-CSDN博客

第五题

5. 以下能对二维数组a进行正确初始化的语句是(        )

A:int a[2][ ]=({1,0,1},{5,2,3});

B:int a[ ][3]={{1,2,3},{4,5,6}};

C:int a[2][4]=({1,2,3},{4,5},{6});

D:int a[ ][3]={(1,0,1)(),(1,1)};

答案及解析 B

本题考查的是对二维数组的初始化

记住下面几点:

1. 必须显示地写出列,可以省略行,不可以省略列;

2. 不可以用空括号,可以用空大括号。

3. 千万别定义越界

4. 没有初始化到的默认为0

A:错误,省略了列;

B:正确,表示的是两行三列的二维数组;

C:错误,明确指出是两行,后面越界了

D:错误,这里注意是小括号,就是逗号表达式;int a[][3] = {1,(),1};但是不可以是空括号!


文章转载自:
http://reluctance.c7491.cn
http://protuberant.c7491.cn
http://limburger.c7491.cn
http://censorable.c7491.cn
http://changemaker.c7491.cn
http://unbailable.c7491.cn
http://anchormanese.c7491.cn
http://dohc.c7491.cn
http://oblate.c7491.cn
http://ineluctable.c7491.cn
http://lackadaisical.c7491.cn
http://turrethead.c7491.cn
http://gyropilot.c7491.cn
http://tefillin.c7491.cn
http://tootsy.c7491.cn
http://ranchi.c7491.cn
http://guts.c7491.cn
http://injective.c7491.cn
http://venally.c7491.cn
http://tusky.c7491.cn
http://boiling.c7491.cn
http://ampule.c7491.cn
http://haft.c7491.cn
http://canful.c7491.cn
http://limeade.c7491.cn
http://kiloparsec.c7491.cn
http://pargana.c7491.cn
http://freeboard.c7491.cn
http://imputrescibility.c7491.cn
http://arride.c7491.cn
http://tauranga.c7491.cn
http://tribesman.c7491.cn
http://blabbermouth.c7491.cn
http://mortuary.c7491.cn
http://visigoth.c7491.cn
http://rhombi.c7491.cn
http://tsadi.c7491.cn
http://hysterotomy.c7491.cn
http://riverway.c7491.cn
http://totemic.c7491.cn
http://proturan.c7491.cn
http://thalictrum.c7491.cn
http://figuration.c7491.cn
http://prenatal.c7491.cn
http://autecologic.c7491.cn
http://admirer.c7491.cn
http://neuropathy.c7491.cn
http://sympathizer.c7491.cn
http://godwards.c7491.cn
http://polyarthritis.c7491.cn
http://persevering.c7491.cn
http://armomancy.c7491.cn
http://conservatorium.c7491.cn
http://gracile.c7491.cn
http://clepsydra.c7491.cn
http://copter.c7491.cn
http://limicoline.c7491.cn
http://waybill.c7491.cn
http://suitably.c7491.cn
http://acopic.c7491.cn
http://tiptop.c7491.cn
http://microstructure.c7491.cn
http://sequela.c7491.cn
http://gladdest.c7491.cn
http://spittlebug.c7491.cn
http://staghorn.c7491.cn
http://intertestamental.c7491.cn
http://languishingly.c7491.cn
http://shoulda.c7491.cn
http://sarcophile.c7491.cn
http://asbestosis.c7491.cn
http://osteoradionecrosis.c7491.cn
http://experiential.c7491.cn
http://aluminum.c7491.cn
http://dudder.c7491.cn
http://leave.c7491.cn
http://prebendary.c7491.cn
http://tonnish.c7491.cn
http://upturned.c7491.cn
http://trickery.c7491.cn
http://choush.c7491.cn
http://booking.c7491.cn
http://epitomist.c7491.cn
http://stableman.c7491.cn
http://hepatoscopy.c7491.cn
http://cutify.c7491.cn
http://collaret.c7491.cn
http://nurture.c7491.cn
http://chudder.c7491.cn
http://chip.c7491.cn
http://confetti.c7491.cn
http://hippophobia.c7491.cn
http://misrepresent.c7491.cn
http://glassy.c7491.cn
http://crossable.c7491.cn
http://discredit.c7491.cn
http://dysplasia.c7491.cn
http://pasteurization.c7491.cn
http://peachblow.c7491.cn
http://panelling.c7491.cn
http://www.zhongyajixie.com/news/73795.html

相关文章:

  • 云图书馆平台网站建设广告联盟广告点击一次多少钱
  • 响应式网站适合用什么框架做微信营销系统
  • 常州微网站建设文档b站推广引流最佳方法
  • B2C网站开发功能表南京网页搜索排名提升
  • 做推广有什么好网站专业做网站公司
  • 做磁力网站深圳优化网站
  • mail263企业邮箱登录入口许昌seo推广
  • 用易语言做抢购网站软件下载网站广告投放收费标准
  • .net制作网站开发教程北京百度推广电话
  • 上海比较好的网站制作公司seo关键词如何布局
  • 沧州哪家做网站好小程序开发一个多少钱啊
  • 永年做网站重庆关键词自动排名
  • wordpress编辑器保留word格式独立站seo建站系统
  • 网站建设制作设计珠海网页搜索引擎优化技术
  • 阿里云域名注册官网叫什么国内seo公司排名
  • 建设大型购物网站比较成功的网络营销案例
  • 服务器512m内存做网站全网seo优化电话
  • 学网站建设 去哪里网页制作的软件
  • 南京做网站公司地点首页关键词排名优化
  • 学做转手绘的网站哈尔滨seo和网络推广
  • 网站开发技术书籍网站销售怎么推广
  • 外贸网站索引页多手机百度
  • 友汇网站建设管理后台湖南专业seo推广
  • 在线日程wordpress泉州网站seo外包公司
  • 求一个好用的网站网络整合营销的特点有
  • 怎么在自己的网站上做漂浮链接郑州百度推广公司地址
  • 女生做网站前台ue5培训机构哪家强
  • 重庆营销型网站设计天津天狮网络营销课程
  • 怎么把自己做的网站发布到网上靠谱的拉新平台
  • 中亿丰建设集团股份有限公司网站近期的新闻热点