1 2 3 4 5 6 7 8 9 10 11 | #include <stdio.h> #include <stdlib.h> int main() { ///The ternary (conditional) operator in C int a=25,b=20; int c ; ///(/* logical expression goes here */) ? (/* if non-zero (true) */) : (/* if 0 (false) */) c = (a > b) ? b : a; printf("ans = %d",c); } |
ternary operator bash
how to use ternary operator in c
associativity of ternary operator in c
Verwandte Suchanfragen zu ternary operator
ternary operator java
ternary operator php
ternary operator c++
ternary operator ruby
ternary operator perl
ternary operator python
javascript ternary operator