Question: What does the following function do? int fun (const char a) Ichar blank nt looking-1 int k k- strlen(a) while (>-o&& looking) f (akj-blank) k,
What does the following function do? int fun (const char a) Ichar blank nt looking-1 int k k- strlen(a) while (>-o&& looking) f (akj-blank) k, else looking 0 ir (looking) return -1 else retun k J Select one o a. Counts the number of nonblank characters in array a. b.Finds the subscript of the first blank in array a o C Finds the subscript of the last blank in array a O d. Finds the subscript of the first non blank character in array a e. Finds the subscript of the last nonblank character in array a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
