Syntax and Semantics笔试题

时间:2020-07-21 15:01:06 笔试题目 我要投稿

Syntax and Semantics笔试题

 Syntax and Semantics

Syntax and Semantics笔试题

1. In a runtime C program, auto variables are stored in , static variables are stored in , and function parameters are stored in .

  a. stack b. heap c. neither stack nor heap

2. The statement extern int x; is a , and the keyword extern is used during .

  a. variable declaration b. variable definition c. compilation time d. runtime

3. There is a complicated declaration: void ( * signal (int, void (*)(int)) ) (int);If a statement typedef void (*p) (int); is given, please rewrite this complicated declaration.

4. The following code is a segment of C program.

  ..........

  void func(int *p)

  {...........}

  ..........

  main()

  {

  int num=0;

  .........

  func(num);

  ........

  }

  ..........

Here, the function argument num is passed .

  a. by value b. by reference

 

【Syntax and Semantics笔试题】相关文章:

360笔试题目07-11

华为2017笔试题08-16

华为2017笔试试题08-10

桂林银行笔试题笔经07-20

QMS2007笔试审核知识模拟试题11-02

眼线笔类型-如何挑选眼线笔11-09

马克笔有哪些分类-马克笔的分类11-03

唇线笔怎么用10-11

ps笔刷怎么安装08-27

美甲笔如何保养10-07