I take it that by "while p.c. running" you mean you want to merge your
partitions non-destructively. For this you will need third-party
partitioning software. I prefer Acronis Disk Director but there are
others. Back up your data first because Stuff Happens.