Vidyalelo
C Programming · Q138

C Fundamentals

Programming · C Programming · question 138

Q138

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

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

Answer: Option B

Solution

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