What will be the final value of x in the following C code?
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
A. 3.75
B. Depends on compiler
C. 24
D. 3
Answer: Option C
Join The Discussion