Sudarshan_SMD
Galvanizer
in programs of switch-case ,etc .
break; is not executing .
program does not give any errors .......but break command is not executed .
case 5 :
printf("array is :- ");
for(i=0;i<n;i++)
printf("%d",a);
break;
^ it's just a case for displaying array ..........when 5 is selected ........array goes on displaying infinete no. of time......it does not stops ....i.e break is not executed .
i code directly through console in MANDRIVA .
is there need for header file other than <stdio.h> ?
OR i am missing some libraries ?
break; is not executing .
program does not give any errors .......but break command is not executed .
case 5 :
printf("array is :- ");
for(i=0;i<n;i++)
printf("%d",a);
break;
^ it's just a case for displaying array ..........when 5 is selected ........array goes on displaying infinete no. of time......it does not stops ....i.e break is not executed .
i code directly through console in MANDRIVA .
is there need for header file other than <stdio.h> ?
OR i am missing some libraries ?