What will be the output for this code(Explain your logic with help of dry running for the same):#include void foo( int[] );int main(){int ary[4] = {1, 2, 3, 4};foo(ary);printf("%d ", ary[0]);}void foo(int p[4]){int i = 10;p = &i;printf("%d ", p[0]);}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here