Computer Science, asked by rishabh3060, 5 months ago

What will be the output for this code(Explain your logic with help of dry running for the same):

#include <stdio.h>

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]);

}​

Answers

Answered by mayankchetan260
0

Answer:

ryi63uerhetur6i6rkdyu4 IRUNTHA736IWRYE5U3 IFUJTG4684 IYEJW4Y 376EJ5EU3O47KTEHE4U46URTHE5U46IR6U5EY5EIR6JTEU46OEYJRWGW5UE5JERGE4YRJTEURIR6JTEHTIRUJYRI4JTKT77OTEJE6I6RKRYJTEJR6IRYU47I6RU46IETHUETGRWU36UQY3QTIRUJSRHYINTWY4LTEY36KYEJ6ELG47KRWGTE6IWED Th RWT3YR6IRYG5EYHSTHRM

Similar questions