0
What is the output of the following C program?
#include <stdio.h>
int main() {
int a[] = {1, 2, 3};
int *p = a;
(*p)++;
p++;
*p += 5;
printf("%d %d %d", a[0], a[1], a[2]);
return 0;
}- A2 2 8
- B1 7 3
- C2 8 3
- D2 7 3
Correct answer: D