The cube root of a number in C can be calculated using the cbrt function, which is available in the <math.h> library. The cbrt function computes the cube root of a given floating-point number and returns the result as a double. This function is particularly useful in mathematical computations involving cubic equations or volume calculations.