精品视频中文字幕,中国亚洲精品,毛片在线免费播放,人人做人人看人人添,国产精品日韩高清伦字幕搜索,中国毛片一级片,狠狠狠狠狠

索尼愛(ài)立信筆試題

時(shí)間:2023-03-23 17:10:31 筆試題目 我要投稿
  • 相關(guān)推薦

索尼愛(ài)立信筆試題

索尼愛(ài)立信筆試題

索尼愛(ài)立信筆試題

一、用變量a定義以下類型:(這道題目是中英文描述,我為了抄的簡(jiǎn)單就寫(xiě)英文了

  不保證全準(zhǔn)確,因?yàn)槲沂谴掖矣煤?jiǎn)寫(xiě)記在草稿紙上的。)

  a) an integer

  b) a pointer to an integer

  c) a pointer to a pointer to an integer

  d) an array of 10 integers

  e) an array of 10 pointers to integers

  f) a pointer to an array of 10 integers

  g) a pointer to a function that makes an integer as an argument and returns

  an integer

  h) an array of 10 pointers to functions that makes an integer as an argument

  and returns an integer

  二、關(guān)鍵字static的作用是什么?

  三、這段代碼有什么問(wèn)題?

  strunt S_A{

  int a[10];

  };

  void f()

  {

  int i;

  strunt S_A *s_ptr;

  for (i=0,i<10,i++)

  s_ptr->a[i]=i;

  }

  四、寫(xiě)一個(gè)字符串反轉(zhuǎn)函數(shù),比如把“abcd”變成“dcba”,要求在空間和時(shí)間上

  盡量?jī)?yōu)化。

  函數(shù)原型

  char* strrev(char* dest, char* src);

  五、寫(xiě)鏈表操作函數(shù)

  鏈表節(jié)點(diǎn)定義如下

  struct ListNode

  {

  long id;

  struct ListNode* next;

  }

  寫(xiě)一個(gè)返回下一個(gè)節(jié)點(diǎn)的函數(shù),沒(méi)有的話返回0

  struct ListNode* ListNext(struct ListNode* cur);

  寫(xiě)一個(gè)在已經(jīng)排序好的鏈表中插入一個(gè)節(jié)點(diǎn)的函數(shù),返回插入位置的前一個(gè)節(jié)點(diǎn)

  如果節(jié)點(diǎn)已經(jīng)在鏈表里邊返回0

  struct ListNode* ListInsert(struct ListNode* head,struct ListNode* newNode);

  寫(xiě)一個(gè)刪除節(jié)點(diǎn)的函數(shù),返回刪除后的前一個(gè)節(jié)點(diǎn),如果節(jié)點(diǎn)不在鏈表里邊返回0

  struct ListNode* ListRemove(struct ListNode* head,struct ListNode* theNode);

  (原題比我寫(xiě)的詳細(xì),大概就是這個(gè)意思了)
 

【索尼愛(ài)立信筆試題】相關(guān)文章:

愛(ài)立信機(jī)考筆經(jīng)07-08

索尼上海筆經(jīng)07-18

愛(ài)立信筆試題剖析07-31

索尼SONY招聘筆經(jīng)07-27

愛(ài)立信 radio network consultant筆試題08-10

最新索尼筆試題分享08-10

索尼最新招聘筆試題分享08-10

索尼公司的常見(jiàn)面試題07-05

我的愛(ài)立信的OFFER07-16