Computer Science, asked by malik5274, 3 months ago

Differentiate between Sub-routine and Function.​

Answers

Answered by vardhan67
2

Explanation:

Functions and subroutines operate similarly but have one key difference. A function is used when a value is returned to the calling routine, while a subroutine is used when a desired task is needed, but no value is returned.

Answered by rinkichakraborty8741
0

Explanation:

\huge\fbox\red{Verified Answer:-}

Functions and subroutines operate similarly but have one key difference. A function is used when a value is returned to the calling routine, while a subroutine is used when a desired task is needed, but no value is returned.

please Mark me brainliest please

Similar questions