← Back to Question List
C Quiz #24
Ternary Operator Output
What does this program print?
📄 Code
1#include <stdio.h>23int main() {4 int x = 5;5 printf("%d", x > 3 ? 1 : 0);6 return 0;7}