Discussion :: C-MCQs
-
What is the output of this C code?
int *f();
int main()
{
int *p = f();
printf("%d\n", *p);
}
int *f()
{
int j = 10;
return &j;
}
Answer : Option A
Explanation :
None.
Be The First To Comment