TCS Company Programming Program

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");
}

Read Solution (Total 9)

TCS Other Question

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]);
}
What is the output of:
#include
int main()
{
int x=40;
{
int x=20;
printf("%d",x);
}
printf("%d",x);
return 0;
}