笔美国国家仪器试题目
10-15 23:59:20
来源:http://www.qz26.com 笔试题目 阅读:8379次
导读:software1) char p = {"a", "b", "c", "d", "e"}printf("%d ", sizeof(p));2) int p[] = {1, 2, 3, 4, 5}printf("%d ", *p++);printf("%d ", *++p);3) 实现int strncmp(const string *p1, const string *p2, const int n);4) 说明protected函数可以被什么样类型的函数访问5) struct A{unsigned char status;unsinged long value; }两个成员变量的偏移,这样写法的缺点,如何改正。6)class A{public:static int GetValue(){return m_value;}private:int m_
笔美国国家仪器试题目,标签:银行笔试题目,企业笔试题目,http://www.qz26.com
software
1) char p = {"a", "b", "c", "d", "e"}
printf("%d ", sizeof(p));
2) int p[] = {1, 2, 3, 4, 5}
printf("%d ", *p++);
printf("%d ", *++p);
3) 实现int strncmp(const string *p1, const string *p2, const int n);
4) 说明protected函数可以被什么样类型的函数访问
5) struct A{
unsigned char status;
unsinged long value; }
两个成员变量的偏移,这样写法的缺点,如何改正。
6)class A{
public:
static int GetValue(){return m_value;}
private:
int m_value;
}
这样写法的错误
7) 实现SingleTon
8) 还有一道虚函数的题,只要知道概念就会做
9)作文,现在通讯方式和原始通讯方式的比较,类似于TOEFL的八卦文。
Tag:笔试题目,银行笔试题目,企业笔试题目,求职笔试面试 - 笔试题目
下一条:壳牌笔试题目