CP and type 2 diabetes mellitus: C-peptide (CP) is used to evaluate islet function in patients with type 2 diabetes mellitus (T2DM) and to measure the extent of endogenous insulin deficiency [11].