Home / Report Question

Q. Which of the below syntax is the correct way of declaring a function?
  • A. return function_name () { }
  • B. data_type function_name (parameter) { }
  • C. Void function_name ( )
  • D. None of these