首页 > 个人简历 > 求职简历 > 笔试题目 > 笔美国国家仪器试题目

笔美国国家仪器试题目

发布时间:2019-08-17

笔美国国家仪器试题目

  

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的八卦文。