Scientists in Germany have published the largest study worldwide on the combined risk of diabetes and cancer. People affected by type 2 diabetes have an elevated risk of 24 of the types of cancer studied. The effect is most evident for liver cancer and pancreatic cancer. By contrast, people with diabetes have a significantly lower rate of prostate cancer.