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?

#include <stdio.h>
    void foo()
    {
        return 1;
    }
    void main()
    {
        int x = 0;
        x = foo();
        printf("%d", x);
    }

  1. Runtime error
  2. Compile Time error
  3. 0
  4. 1

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
Assume the output of the following code:... >>
<< The function is lower(char) checks whether a chara...