What will the output of the following C code be?#include stdio.h> int main () int I = 3; int l = I / -2; int k = I percent -2; printf("percent d'percent dn", l, k); return 0;
A. Compile time error
B. -1 1
C. 1 -1
D. Specification of Implementation
Answer:B
What will the output of the following C code be?#include stdio.h> int main () int I = 3; int l = I / -2; int k = I percent -2; printf("percent d'percent dn", l, k); return 0;
A. Compile time error B. -1 1 C. 1 -1 D. Specification of Implementation
Explanation: 1 1