ME 2 WENASA MOKAKDA

haarshlife

Member
Jul 17, 2007
5,919
15
0
INSIDE ME... !!!
determine the output of the following when x is 9 and y is 11 and when x is 11 and y is 9


if(x<10)
if(y>10)
printf("*****\n");
else
printf("#####\n");
printf("$$$$$\n");



if(x<10) {
if(y>10)
printf("*****\n");
}
else {
printf("#####\n");
printf("$$$$$\n");
}
 

Lomax

Well-known member
  • Jan 6, 2009
    3,706
    44
    48
    Currly Braces nethi ekedi if ekata passe thiyena immediate first line eka vithari execute venne!