Q:

Output is #include int main() { int i = -3; int k = i % 2; printf("%d\n", k); }

0

Output is

#include int main() { int i = -3; int k = i % 2; printf("%d\n", k); }


  1. Output: 3
  2. Output: -1
  3. Output: 1
  4. compiler error

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

Output: -1

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C Programming Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
We can not declare a multuple function with same n... >>
<< Find out the Output int main() { printf("\new...