_____ arguments are passed to a function. Select one: a. Actual b. Formal c. Ret
ID: 3575859 • Letter: #
Question
_____ arguments are passed to a function.
Select one:
a. Actual
b. Formal
c. Return
d. Value-returning
The random number generator in C++ is a built-in value-returning function named random.
Select one:
True
False
Value-returning functions can return multiple values.
Select one:
True
False
You initialize the random number generator using the _____ function.
Select one:
a. rand
b. srand
c. time
d. init
_____ functions allow large and complex programs, typically written by a team of programmers, to be broken into small and managemble tasks.
Select one:
a. Program-defined
b. Built-in
c. Value-returning
d. Void
The sqrt function returns an integer value.
Select one:
True
False
Every C++ program contains at least one function.
Select one:
True
False
Unless you specify otherwise, variables in ++ are automatically passed by _____.
Select one:
a. value
b. register
c. address
d. matrix
The rand function's syntax contains _____ actual argument(s).
Select one:
a. zero
b. one
c. as many as necessary
d. none of the above
The random number generator in C++ is initialized using the init function.
Select one:
True
False
Explanation / Answer
_____ arguments are passed to a function.
a. Actual
explanation:(actual arguments are passed to foraml arguments of a function)
Value-returning functions can return multiple values.
sol:false
explanantion: value returning function will return one value
a function can also return multiple value that is throught using structure and pointers
You initialize the random number generator using the _____ function.
sol: srand
Every C++ program contains at least one function.
sol: true
explanation: that function name is main()
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.