Which of the following assigns the result of calling a function named returnHello that returns a value of “Hello” and takes no parameters correctly?

Which of the following assigns the result of calling a function named returnHello that returns a value of “Hello” and takes no parameters correctly?
A) returnHello(“Hello”);
B) msg = returnHello();
C) msg = returnHello(“Hello”);
D) returnHello(“World”);
Answer :

Leave a Comment