The input string is provided as a parameter to the compress_string function. The Task: Create a reference to a function that accepts an integer argument and returns an array of pointers to functions that accept one input, a string, and return an integer. Whew! You have to read the specification at least three times to realise you don't comprehend it. How do you handle such complication?
The input string is provided as a parameter to the compress_string function.
The Task: Create a reference to a function that accepts an integer argument and returns an array of pointers to functions that accept one input, a string, and return an integer.
Whew! You have to read the specification at least three times to realise you don't comprehend it.
How do you handle such complication?
The input string is provided as a parameter to the compress_string function.
The Task: Create a reference to a function that accepts an integer argument and returns an array of pointers to functions that accept one input, a string, and return an integer.
Whew! You have to read the specification at least three times to realise you don't comprehend it.
How do you handle such complication?
Step by step
Solved in 5 steps with 2 images