161k views
3 votes
A function is different from a procedure because

a. a function does not contain a set of instructions.
b. can have only a limited number of steps.
c. returns a value.
d. is mathematical.

User Wei Yang
by
7.1k points

2 Answers

0 votes

Answer:

C. returns a value

Explanation:

got it right on edge

User Ramkumar Paulraj
by
5.8k points
3 votes

Answer:

c. return a value

Explanation:

Generally speaking, functions return a value, whereas procedures don't (so a procedure is just a function that doesn't return a value). ... By returns a value, we mean that the function creates some sort of results, which is passed back to the calling function.

User Freshr
by
6.4k points