replacing characters in char array with integers

Yes indeed - That Will work too

Constraint is that you need to have max 2 digits in your variable and if you want C.05 in case your value is 5. If your value is 105 you’ll have a weird output (but I assume you have only 4 seven segments modules and thus know the number is between 0 and 99)

You should read about some of the functions in the libs I pointed at, they will come handy one day and there is nothing rocket science about them