Find out the output of the given program.
#include
#include
main()
{
int s = 25, d;
d = s % 10;
if (d == 5) {
s = s / 10;
printf("\\nresult is=%d%d", s * s++, d * d);
}
else {
printf("\\n invalid number");
}
getch();
}
Reveal answer
Fill a bubble to check yourself