//c program
Expected Output of program by me:Code:#include <stdio.h> int main(void) { static int arr[] = {97, 98, 99, 100, 101, 102, 103, 104 }; int * ptr = arr + 1; print(++ptr, ptr--, ptr, ptr++, ++ptr); return 0; } int print(int *a, int *b, int *c, int *d, int *e) { printf("%d %d %d %d %d \n", *a, *b, *c, *d, *e); }
99 99 98 98 100
Actual Output of program:
100 100 100 99 100
Could you please explain the Actual output?