Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 Select all of the true statements below. Question 1 options: a. Except for symbolic constants and prototypes, global variables should almost never be

Question 1

Select all of the true statements below.

Question 1 options:

a. Except for symbolic constants and prototypes, global variables should almost never be used.

b. By making a variable global, you instantly destroy the safeguards C provides to make functions independent and insulated from each other.

c. Using global variables can be especially disastrous in large programs with many user-created functions.

d. Global variables should be used whenever you can't figure out a solution that leverages the advantages of local variables.

e. All of these

f. None of these

Question 2

A local variable declared as static causes the program to keep the variable and its value even when the function that declared it is done.

Question 2 options:
True
False

Question 3

Static variables are initialized at run-time.

Question 3 options:
True
False

Question 4

Registers are high-speed storage areas physically located in the computer's processing unit and should be used as often as possible to increase the speed of the processing for application programs.

Question 4 options:
True
False

Question 5

In pass by value, a called function receives values from its calling function, stores the passed values in its own local parameters, manipulates these parameters appropriately, and directly returns, at most, a single value.

Question 5 options:
True
False

Question 6

Passing an address is referred to as a function pass by reference, because the called function can reference, or access, the variable using the passed address.

Question 6 options:
True
False

Question 7

A variable that can store an address is known as a pointer variable or pointer.

Question 7 options:
True
False

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

(2) An example of praise that you received badly or indifferently.

Answered: 1 week ago

Question

(1) An example of negative feedback that you received badly.

Answered: 1 week ago

Question

How well do you gain participation and involvement from the group?

Answered: 1 week ago