Why is it not necessary to return a variable from a function
if the variable is declared as global?

A. You have to return all variables regardless of scope.
B. All functions can see and access global variables.
C. main() gets copies of global variables.
D. Each function gets its own copy of global variables.

B

Computer Science & Information Technology

You might also like to view...

Artistic effects are the motion effects seen when one slide moves to the next during a presentation

Indicate whether the statement is true or false

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. The ticket-granting ticket is encrypted with a secret key known only to the AS and the TGS. 2. The ticket-granting ticket is not reusable. 3. Kerberos does not support interrealm authentication. 4. X.509 provides a format for use in revoking a key before it expires. 5. Because serial numbers are unique within a CA, the serial number is sufficient to identify the certificate.

Computer Science & Information Technology