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

what will be the output of the following code?
Q:

what will be the output of the following code?

0

what will be the output of the following code?

void m(int k)
    {
        printf("hi");
    }
    void m(double k)
    {
        printf("hello");
    }
    void main()
    {
        m(3);
    }

  1. Compile time error
  2. hi
  3. hello
  4. hi hello

All Answers

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

Correct Answer:

Compile time error

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
It is necessary to declare the type of a function ... >>
<< Guess the output of the following code:...