πŸ“Š C Programming
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) 16

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
193
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Manisha Agrawal
Publisher
πŸ“ˆ
90%
Success Rate