c how to check if char is break line code example Example: check if character is newline c if (s[i] == '\n')