Samar and his thoughts

Sunday, November 2, 2008

PGM 1
main()
{
int i=-1;
+i;
printf("%d%d",i,+i);
}

PGM 2
main()
{
printf("%f",7/2);
}

Did anyone know, what will the output of the above 2 programs? Explanation is required.??

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home