Which of the following are syntax that can be used to declare a function?

  1. function_name() {command-list }

  2. function_name ( ) { }

  3. function name (command list ) {

  4. None


Correct Option: A

Find more quizzes: