UPDATE . According to your other comment, your expression is wrong - it has nothing to do with "while" with several conditions.
ch != '\n' || ch != ' ' ALWAYS true, regardless of what these characters are.
If the character is NOT a space, the second condition is true, so OR is true.
If the character is a space, the first condition is true (since space is not a newline), and OR is true.
The right way: ch != '\n' && ch != ' ' ...
OLD answer:
( ).
, (, b c , b!=1 ).
while - , .
|| && C, , , , .