if else break c program example
if else break c program example
![if else break c program example](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img,w_550,h_387/https://blog.eduguru.in/wp-content/uploads/2018/10/if-else-break-c-program-example.png)
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++ ;
}
}
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++ ;
}
}