C Programs / conditional operator C program

Program Name

Write a C Program for conditional operator C program.
Theory
conditional operator is used to execute a particular statements(block) based on the condition. condition?block1:block2; If condition==true block1 is executed otherwise block2 is executed.
Program Code


Input
Enter two Numbers:5 4
Output
n1= 5 is big
Online C Compiler (To copy paste and Run the c program)


Home     Back