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?

int myshow(int);

void main()
{
   int a=10;
   myshow(a);
   myshow(&a);
}

int myshow(int b)
{
    printf("Received %d, ", b);
}

  1. Received 10, Received RANDOMNumber,
  2. Received 10, Received 10,
  3. Received 10, Received RANDOMNumber, with a compiler warning
  4. None of the above

All Answers

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

Correct Answer:

Received 10, Received RANDOMNumber, with a compiler warning

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
Point out the correct statement about call by refe... >>
<< The function that actually created from a call to ...