What does the following fragment of C-program print?
#include <stdio.h>
int main()
{
char c[] = "GATE2011";
char *p = c;
printf("%s", p + p[3] -p[1]);
return 0;
}
What does the following fragment of C-program print?
#include <stdio.h>
int main()
{
char c[] = "GATE2011";
char *p = c;
printf("%s", p + p[3] -p[1]);
return 0;
}