Question: int decode(char *str); -Write this function to accept a run-length encoded string as an argument, prints the decoded value of that string followed by an
int decode(char *str); -Write this function to accept a run-length encoded string as an argument, prints the decoded value of that string followed by an ASCII newline, and return the integer length of the decoded string as a C integer. example: 2b1c3r prints: bbcrrr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
