TCS Company Programming Program

what will be the o/p of the program
main()
{
char s[ ]="man";
int i;
for(i=0;s[ i ];i++)
printf("n%c%c%c%c",s[i ],*(s+i),*(i+s),i[s]);
}

Read Solution (Total 21)

TCS Other Question

what will be the o/p of the program
void main()
{
int const * p=5;
printf("%d",++(*p));
}
what will be the o/p of the program
main()
{
float me = 1.1;
double you = 1.1;
if(me==you)
printf("I love m4math");
else
printf("I realy like m4math");
}