rate in C