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

Solution

function functionName(parameters) { function body }

shaalaa.com
PHP Function and Array
  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×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.