LogiQuest
Back to Expressions
6

What will be the output of the program?

#include <stdio.h>

int main(void) {
    int a = 5, b = 10;
    int max = (a > b) ? a : b;
    printf("%d\n", max);
    return 0;
}
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.