is there a way to take the result of a printf in a char array?
I need to set a string P: result
where result is an int
So if result = 4;
So I need a char array containing "S: 4"
Other methods are fine too, however I have my result in printf, so I wonder if I can just fetch it?
sprintf