Wednesday 3 December 2014

What Will be the Output of the following Program?

Program:

#include<stdio.h>
#include<conio.h>
void main()
{
         int x=34.54, y=20, z=-5;
         printf(y>50 AND z>10 or x>30);
}


Output:

--> There is no Output for This Program, Because the Syntax of the Print Statement is false.
--> After execution of this program some of the errors will found. They are

Error : Function 'printf' should have a prototype
Error : Function call missing )





Thanks for visiting...........

0 comments:

Post a Comment