Q. What will be the output of the following code snippet?

Code:
#include <stdio.h>
void solve() {
    printf("%d %d %d", (076), (28), (0x87));
}
int main() {
    solve();
	return 0;
}
  • (A) 76 28 87
  • (B) 076 28 0x87
  • (C) 62 28 135
  • (D) 0 0 0
πŸ’¬ Discuss
βœ… Correct Answer: (C) 62 28 135

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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