UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

4.5. Automatic self-assessment

  1. In a C program, can several functions exist with the same name but with different parameters?

    • Yes

    • No

  2. From a function, you can invoke

    • Another function but not the own function

    • The own function but not another function

    • Another function and also the own function

  3. When a function executes return, then the code that is after the return in the function

    • never is executed in this function call

    • always is executed in this function call

    • under certain conditions is executed in this function call

  4. A parameter that is passed to a function is a variable

    • global

    • local

    • static

    • non static

  5. Regarding the functions

    • The function prototype can be in several files of the same program

    • If they are static, then they can be called from other files

    • If they are static, then they musb be in the same file of the same program