What will be the output of the program?
#include<stdio.h>
int main()
{
struct s {
char *z;
int i;
struct s1 *p;
};
static struct s1 a[] = {{"Nagpur",a+, {"Chennai",a+,
{"Bangalore",a} };
struct s1 *ptr = a;
printf("%s,", ++(ptr->z));
printf(" %s,", a[(++ptr)->i].z);
printf(" %s", a[--(ptr->p->i)].z);
return
}
|