Programming Languages
C
Objective
Mar 08, 2013
What will be output of the following c code?
void main()
{
int a=-20;
int b=-3;
printf("%d",a%b);
}
Detailed Explanation
Sign of resultant of modular division depends upon only the sign of first operand.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts