Question: 3- int colsum (int a[] [D], int d, int colnum); This function receives a square array(a), the row and column size (d), and certain column

 3- int colsum (int a[] [D], int d, int colnum); This

3- int colsum (int a[] [D], int d, int colnum); This function receives a square array(a), the row and column size (d), and certain column number colnum, this function should return the sum of the column colnum. 2 6 1 4 ON 5 6 10 9 143 407 19 11 8 4 if the clonum= 0, The function returns 2+6+1+4= 13 In main: Define a 2D array of integers of size 4x4 and initialize it using an initializer list. Define an integer variable clonum, and insert its value from the keyboard. Call the colsum function then print the returned value to the screen. at countWords (const char * stri); This function receives array of characters (str1). The function returns the number of words int the string stri. Example: Suppose str1 = "see you soon", the function should return 3 In main: Define array of characters (str1), and give it initial value "see you soon" Call the countWords function then print the result to the screen

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!