Which one of the choices given below would be printed when the following program is executed ?
#include <stdio.h>
struct test {
int i;
char *c;
}st[] = {5, "become", 4, "better", 6, "jungle", 8, "ancestor", 7, "brother"};
main ()
{
struct test *p = st;
p += 1;
++p -> c;
printf("%s,", p++ -> c);
printf("%c,", *++p -> c);
printf("%d,", p[0].i);
printf("%s \n", p -> c);
}
- $\text{jungle, n, 8, nclastor}$
- $\text{etter, u, 6, ungle}$
- $\text{cetter, k, 6, jungle}$
- $\text{etter, u, 8, ncestor}$