1 Crore+ students have signed up on EduRev. Have you? Download the App |
An application program that is used by the users to get the information from the back end of some application like databases:
How many times will the print f be executed?
main( )
{
unsigned int i=3;
while( i .=0)
printf( "%d", i--);
}
What is the output of the following program?
main( )
{
int x,y, z;
x=2;
y=5;
z= x+++y;
printf("%d %d %d", x, y z);
}
What is the output of the following program?
# define swap(a,b) temp=a; a=b; b=temp;
main( )
{
int i, j, temp;
i=5;
j=10;
temp=0;
if( i . j)
swap( i, j );
printf( "%d %d %d", i, j, temp);
}
85 docs|57 tests
|
85 docs|57 tests
|