C Ternary Operator Syntax Code Example


Example: how to use ternary operator in c programming

int a = 10, b = 20, c;  c = (a < b) ? a : b;  printf("%d", c);

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy