Question: 1 ) A . write a function called reverse that receives array of characters and returns the reversed of that array [ 4 points ]

1) A. write a function called reverse that receives array of characters and returns the reversed of that array [4 points]B. in the main function define a pointer that points to the above function and call it through the pointer 2) write a function that receives an array of characters, the function should return the number of words that has a specific pattern p [9 points]For example, consider that the function has received the following array:Welcome to comfortable pointers, complex compilers and forthcoming age of composite of common languages and the pattern p is comThe function should return 7 which represents the number of words that contain the pattern p, they are1. Welcome 2. comfortable 3. Complex 4. Compilers 5. Forthcoming 6. Composite 7. CommonBut if the pattern p is comp the function returns 3, they are (1. complex 2. compiler 3. composite)3) Assume the following class. Answer the questions belowclass course{char* name;double mark[3];//first, second and final marks};1. Write the all constructors for all parameter of the class.2. Write a function that takes a course and returns the final mark of this course.3. In the main function create array of 100 courses.4. Write a function that returns all fail courses in the created array.

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!