Back up first. Changing partitions can lose data if something goes wrong.
1. Right-click Start, then Disk Management.
2. Windows can only extend C: into free (unallocated) space directly to its right.
3. If D: is right after C: and you can empty it: copy D:'s files elsewhere, right-click D:, Delete Volume, then right-click C:, Extend Volume, and follow the steps.
4. "Extend Volume" greyed out? A recovery partition is usually in the way. Moving it needs a partition tool, so it's best done by a technician.
5. Easier option: move big folders (videos, downloads, games) to D: or an external drive, and run Disk Cleanup (see our disk space tip).