亚洲国产日韩欧美在线a乱码,国产精品路线1路线2路线,亚洲视频一区,精品国产自,www狠狠,国产情侣激情在线视频免费看,亚洲成年网站在线观看

索尼愛立信筆試題

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

索尼愛立信筆試題

索尼愛立信筆試題

索尼愛立信筆試題

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

  不保證全準(zhǔn)確,因為我是匆匆用簡寫記在草稿紙上的。)

  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的作用是什么?

  三、這段代碼有什么問題?

  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;

  }

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

  盡量優(yōu)化。

  函數(shù)原型

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

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

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

  struct ListNode

  {

  long id;

  struct ListNode* next;

  }

  寫一個返回下一個節(jié)點的函數(shù),沒有的話返回0

  struct ListNode* ListNext(struct ListNode* cur);

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

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

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

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

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

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

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

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

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

愛立信筆試題剖析07-31

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

愛立信 radio network consultant筆試題08-10

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

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

索尼公司的常見面試題07-05

我的愛立信的OFFER07-16