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