Buckingham Palace explicitly said that it is not prostate cancer, but some other form of cancer.
If I had to guess, most likely colon cancer.
He’s had heart problems for years and likely related those sausage fingers causing speculation he was going to drop dead back when.