Question: Consider the code snippet. int main(){ int a[] = {7,3,5,6,8,9,2,4,1}; int j = *a; int *p = a+2; int k = *p; p++; int i
![Consider the code snippet. int main(){ int a[] = {7,3,5,6,8,9,2,4,1}; int](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f45660ee5e5_92866f4566088932.jpg)
Consider the code snippet. int main(){ int a[] = {7,3,5,6,8,9,2,4,1}; int j = *a; int *p = a+2; int k = *p; p++; int i = *p + 3; int m= *(p+ 3); printf("%d-%d-%d-%d ", j, k, l, m); } What is the output of the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
