Report question

Question: How can I check whether a string ends with ".csv" in C