一起答
单选

在高级程序设计语言中,使用参数是子程序之间传递信息的一种手段。子程序说明中的参数称为形式参数,调用语句中的参数称为实在参数。调用时,实在参数的个数、类型和顺序要和形式参数保持一致。

 知道一种语言(或编译器)使用哪种参数传递方法是很重要的,因为程序的运行依赖于所用的方法。参数传递方法有传值调用(CALL BY VALUE)、引用调用(CALL BY REFERENCE)、传名调用(CALL BY NAME)和宏扩展(MACROEXPANSION)。

传值调用是指把实在参数的(50)传递给相应的形式参数、子程序通过这种传值形参(51);引用调用是指把实在参数的(52)传递给相应的形式参数,此时子程序形式参数的一次引用或赋值被处理成对形式参数的(53)访问。

 C语言中的函数,以(54)方式进行参数传递。

  • A.地址
  • B.名
  • C.值
  • D.地址和值
  • E.值和名
参考答案
查看试卷详情
相关试题
  1. (88)

    • A.Linked
    • B.Pointed
    • C.Dynamic
    • D.Static
  2. (89)

    • A.High-leve language
    • B.Decision tree
    • C.Pseudocode
    • D.Flowchart
  3. (71)data effectively is crucial for success in today's competitive environment. Managers must know how to use a variety of tools. Integrated data takes information from different sources and puts it together in a meaningful and useful way. One of the difficulties of this is the(72)in hardware and software.(73)integration uses a base document that contains copies of other objects.(74)integration uses a base document that contains the current or most recent version of the source document it contains.(75)provides an overview of the program written in" plain" English, without the computer syntax.

    • A.Generalizing
    • B.Sharing
    • C.General-using
    • D.Globalizing
  4. (86)

    • A.similarity
    • B.interoperability
    • C.diversity
    • D.interaction
  5. (87)

    • A.Simulated
    • B.Duplicated
    • C.Dynamic
    • D.Static
  6. (83)

    • A.of
    • B.to
    • C.as
    • D.from
  7. (84)

    • A.forms
    • B.groups
    • C.consist
    • D.Facilitates
  8. (81)

    • A.provides
    • B.have
    • C.expands
    • D.limits
  9. (82)

    • A.elements
    • B.objects
    • C.services
    • D.capability
  10. (78)

    • A.图形
    • B.文件
    • C.元组
    • D.文件系统