27. WAP to understand conditional operator. Get link Facebook X Pinterest Email Other Apps #include<stdio.h> void main() { int i=1,j=2,k; // k=i<j?100:200; // i<j?k=100:k=200; // lvalue error // i<j?k=100:(k=200); printf("%d\n",k); } Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment