if else break c program example

if else break c program example

if else break c program example
if else break c program example

What would be output of the program:

main( )
{
int x = 4, y = 0, z ;
while ( x >= 0 )
{
if ( x == y )
break ;
else
printf ( ā€œ\n%d %dā€, x, y ) ;
x– ;
y++ ;
}
}

 

 

 

Leave a Reply