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