设为首页 加入收藏

TOP

威盛的软件题目
2014-11-23 20:29:09 来源: 作者: 【 】 浏览:15
Tags:威盛 软件 题目

1, 三组程序,找出错误,如果有的话.


1> a.c long temp[255];


b.c extern *temp;


2> a.c long temp[255];


b.c extern temp[256];


3> a.c long temp[255];


b.c extern temp[];


2, 在第一个声明处编译出了奇怪的错误,为什么


#include


#include “myfun1.h”


#include “myfun2.h”


int myInt1;


int myInt2;


3, printf(“0x%x”, (&0)[-1]); 请问打印了什么


4, 结构体内某项偏移地址


5, 汇编,用ax,bx,cx,dx, 求1000*1000/30(四舍五入), 结果放在ax中.


6, 1,2,3,4,5,6,7,8,9从栈里出来的可能性.


7, 求一个struct的sizeof.(略)


8, 编最优化Bubble(int *pIntArray,int L),要求:交换元素不能用临时变量,如果有序,


需要最优.


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇ASP.NET中的身份验证有那些?请解.. 下一篇多线程应用中被几个任务共享的变量

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: