PROGRAM TO SHOW THE USE OF CONDITIONAL OPERATOR
/*PROGRAM TO SHOW THE USE OF CONDITIONAL OPERATOR*/ #include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf(“Enter any two numbers to check which of them is greater: “); scanf(“%d%d”,&a,&b); c=(a>b)?a:b; …