栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > C++面试题库

深圳诺威达C++职位面试经过

深圳诺威达C++职位面试经过

面试

1.int a[][2] = {{a,b},{c,d}}

  char **p = a;

  printf(“%sn”,*(p+1));

  p++;

 printf(“%sn”,*p + 1);

输出以下结果:

2.string类,写出类函数

string

{

public:

 string(const char *str = NULL);

 string(const string &other);

 string &operator =( const string &other);

private:

  char *m_pstr;

}

3.利用递归实现输入1输入11,输入12输出1122

4. void GetMemory(char *p) 

p = (char *)malloc(100); 

void Test(void)   

char *str = NULL; 

GetMemory(str);  

strcpy(str, “hello world”); 

printf(str); 

输出结果:           

为什么:             

5.char *p;

  char a[5][5];

  char *q = (char *)malloc(100);

  printf(“%dn”,sizeof(p));

printf(“%dn”,sizeof(a));

printf(“%dn”,sizeof(a[5][5]));

printf(“%dn”,sizeof(q));

输出结果:

6.重载和重定义的区别

7.解决线程和进程

8.说出MFC中有那些GDI的库类

 

面试:

1.解释一下笔试题4,并如何修改成为我们想要的.

2.因为笔试题3我没做,面试官问:你能解释你为这些为什么没做

3.你简历上面的项目是什么时候做的,何时做的,做完了有什么收获.

4.你要求的薪资多少?

5.你还有什么想问的吗??  

  我就问了福利,加薪等

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/265577.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号