Apr 23, 2022 at 1:04am
1)
void fun(int *p);
void main()
{
int x [100] = {3,2,1};
fun(x);
printf("%d", x[0]);
}
void fun (int *p)
{
*p = 1;
}
Apr 23, 2022 at 1:57am
So, what do you think will be displayed?
After all, this is your test, not ours. You are supposed to figure it out. On your own.