100% it's the safer option.
The software with the best security track record of all time is written in C.
I would maybe not go that far, look at ADA, SPARK etc.
I'm curious which software you have in mind. Ex: seL4 is technically C, but I'd say the theorem prover is doing most of the real work there.
I would maybe not go that far, look at ADA, SPARK etc.