If I created a function called "double" and called it and it had a single parameter called "num", how could this function return a value to the routine that called it? Group of answer choices &num * 2; -> num *2; num *2; num *2

icon
Related questions
Question
  1. If I created a function called "double" and called it and it had a single parameter called "num", how could this function return a value to the routine that called it?
Group of answer choices
&num * 2;
-> num *2;
num *2;
num *2
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer