M

Manisha Agrawal • 9.34K Points
Tutor III

Q. What is the output of the following code snippet?

Code:
int main() {
	int sum = 2 + 4 / 2 + 6 * 2;
	printf("%d", sum);
	return 0;
}
  • (A) 2
  • (B) 15
  • (C) 16
  • (D) 18

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics