Computer Science, asked by arundevadig0, 10 months ago

Find the output of the c code given below.
#include
int main()
{
int ary[4]={1,2,3,4};
int*p;
p=ary+3;
*p=5;
printf("%d\n",ary[3]);
return 0;
}

Answers

Answered by amruthamanisai587
3

Answer:

output of this number is 5

Explanation:

here we are changing the number at index '3' as 5

please let me know if you need more clarification on this feel free to text me

Similar questions