one line if c code example Example: one line conditional statement in c str = arraeck(a, n) ? "YES" : "NO"; printf(arraeck(a, n) ? "YES" : "NO");