WAP to exit from program. through exit(0) function


#include<math.h>
void main()
{
int a,b;
clrscr();
if (a>b)
printf("a is greater");
else
exit(0);
getch();
}

No comments:

Post a Comment