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

Assume the output of the following code:
Q:

Assume the output of the following code:

0

Assume the output of the following code:

#include <stdio.h>
    enum m{JAN, FEB, MAR};
    enum m foo();
    int main()
    {
        enum m i = foo();
        printf("%d\n", i);
    }
    int  foo()
    {
        return JAN;
    }

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

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
The function that actually created from a call to ... >>
<< Types of function in C language...