Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int *m();
void main()
{
    int k = m();
    printf("%d", k);
}
int *m()
{
    int a[2] = {5, 8};
    return a;
}

A. 5

B. 8

C. Nothing

D. Varies

Answer: Option D


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function