Vidyalelo
C Programming · Q104

C Fundamentals

Programming · C Programming · question 104

Q104

What will be the output of the following C code? #include int main() int i = -3; int k = i % 2; printf("%d ", k);

A.
Compile time error
B.
-1
Answer
C.
1
D.
Implementation defined

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board