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
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
Math,
5 months ago
Math,
5 months ago
Math,
5 months ago
Biology,
10 months ago
Math,
10 months ago
CBSE BOARD X,
1 year ago
Environmental Sciences,
1 year ago