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)

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!