Q:

if we run this code so what will be the output:

0

if we run this code so what will be the output:

int *m();
    void main()
    {
        int k = m();
        printf("%d", k);
    }
    int *m()
    {
        int a[2] = {5, 8};
        return a;
    }

  1. 8
  2. varies
  3. 5
  4. No output

All Answers

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

Correct Answer:

varies

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