A PHP Error was encountered

Severity: 8192

Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Filename: libraries/Filtered_db.php

Line Number: 23

Which of the function definition run correctly
Q:

Which of the function definition run correctly

0

Which of the function definition run correctly


  1. int sum(int a, int b) {return (a + b);}
  2. int sum(a, b) return (a + b);
  3. int sum(int a, int b) return (a + b);
  4. All of the above

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

int sum(int a, int b) {return (a + b);}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
The function is lower(char) checks whether a chara... >>
<< if we run this code so what will be the output:...