2,304 views

1 Answer

Best answer
2 votes
2 votes

In C language with a remainder operator, the sign of the result is the same as the sign of the dividend.

So B is correct here.

selected by

Related questions

2 votes
2 votes
3 answers
1
Laahithyaa VS asked Sep 9, 2023
963 views
. What will be the value returned by the following function, when it is called with 11?recur (int num){if ((num / 2)! = 0 ) return (recur (num/2) *10+num%2);else return 1...
2 votes
2 votes
1 answer
4
Hrithik Vashishtha asked Jul 4, 2022
393 views
#include <stdio.h int main () { int i, j; int a [8] = {1, 2, 3, 4, 5, 6, 7, 8}; for(i = 0; i < 3; i++) { a[i] = a[i] + 1; i++; } i ; for (j = 7; j 4; j ) { int i = j/2; ...