USC Viterbi - Grading System for grad students

I’m taking last course CE 541a before my graduation, unfortunately I bombed my midterm badly. I don’t know what chance I could pass that class, I only need a C. I’m so worried and depressed now.
I heard that professors always give out at least a C to grad students even if they failed all the exams. Is that true ?