?Which of the following syntax is used for a function to return a value?

A. ?return value;function_name(parameters){commands}
B. ?functionreturn value;{function_name(parameters)commands}
C. function function_name(parameters){commandsreturn value;}
D. function_name(parameters){return value;commands}

Answer: C

Computer Science & Information Technology

You might also like to view...

Only a subset of the data appears when you ________ a report

Fill in the blank(s) with correct word

Computer Science & Information Technology

The 2.5" size hard drive is typically used in devices such as MP3 players.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology