基本上都是C/C++的题目。
1. 写程序结果
1)
char s1='c',s2='d';
char *ps;
char& rs=s1;
rs=s2;
ps=&s1;
printf("%c, %c",rs,*ps);
2)
struct a
{
char a1;
int a2;
double a3;
unsigned int a4;
} a1;
printf("%d ",sizeof(a1));
3)
char sw[2];
char *sw1="helloO";
for(int i=0;i<2;i++)
sw=sw1;
printf("%s,%s,%d ",sw1,sw,strlen(sw1));
2. 判断程序错误 (不记得了)
3. 问答:
1)protected的作用?
2)实现函数char *strstr(char* str, char* substr),在字串str中查找substr子串是否
存在。
4. 程序分析,并提出改进方法
5. 英语作文:give your opinions of how to be a good software engineer?
欢迎光临 应届生求职招聘论坛 (https://bbs.yingjiesheng.com/) | Powered by Discuz! X3.2 |