MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include int main() { int i = 3; int l = i / -2; int k = i % -2; printf("%d %d\n", l, k); return 0; } |
| A. | Compile time error |
| B. | -1 1 |
| C. | 1 -1 |
| D. | Implementation defined |
| Answer» C. 1 -1 | |