I'd say if you get a C in chemistry it would be very difficult to get into cardiff, it's one of the top universities for pharmacy. The only way you could is if you had an amazing interview, but i doubt there would be clearing for pharmacy at cardiff, clearing is usually for the lower graded universities like Wolverhampton, Liverpool etc.