you can format the NON-BOOT partition (C is normally the boot partition) without affecting the Boot partition, but not the other way around, unless you backup the boot files before formatting. That's not recommended though - I've done it that way, but it's not straight forward.
What's the purpose of formatting the partitions anyway? Maybe we could help more, if you told us what you are trying to achieve???