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

Chemistry - Bond Angles In NH3 And NCl3

Can Not Use Command Telnet In Git Bash