Consider the following C program
#include
void f(int x, int *p)
{
*p=x;
x=10;
}
int main()
{
int a=5, b=6;
int *p=&a, **q;
*p=20; q=&p;
f(a,&b);
*q=&b;
*p=30;
printf("%d,%d",a,b);
}
What is the output produced by above C program?1
10,20
2
20,30
3
30,20
4
20,20