通用電氣部分C語言筆試面試分享

大風(fēng)車考試網(wǎng)

  只是c語言部分還有C++部分本人不太會(huì)就沒有答,反正是做的不好,發(fā)出來給大家看看,盡量寫出代碼試一試!

  1. typedef int (*func_p)(int)

  func_p p

  p代表什么意思?

  2 W( n6 ~1 {; @! Q2.int(*a[10])(int) a代表什么意思??

  3.char str[]="GE";

  char *str2 = str;

  J% n0 s2 ?, L sizeof(str)=? sizeof(str2)=?

  4.有關(guān)malloc的程序判斷,具體的給忘了,就是看一下字符串空間的分配。

  5.關(guān)鍵字volatile的含義,在程序設(shè)計(jì)過程中的應(yīng)用?

  6.const int *p1;

  int const *p2;

  int *const p3;

  unsigned int b = 2;

  那么a+b>a?為什么?a+b>b?為什么?

  • 相關(guān)文章