Not clear if the C and D drives are individual disk drives. If so then you can't do it.
If it is all one single physical drive then it can be done by changing the sizes of each partition using partitioning software. There are several which are free programs. Macrorit Partition Expert, Paragon hard disk manager