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