English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Which one of the following is the right way of defining a function in PHP? - Computer Applications

Advertisements
Advertisements

Question

Which one of the following is the right way of defining a function in PHP?

Options

  • function { function body }

  • data type functionName(parameters) { function body }

  • functionName(parameters) { function body }

  • function functionName(parameters) { function body }

MCQ
Advertisements

Solution

function functionName(parameters) { function body }

shaalaa.com
  Is there an error in this question or solution?
Chapter 5: PHP Function and Array - Evaluation - PART – I [Page 103]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 5 PHP Function and Array
Evaluation - PART – I | Q 1. | Page 103
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×