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