Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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
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 "com"
The function should return 7 which represents the number of words that contain the pattern p, they are
Welcome 2. comfortable 3. Complex 4. Compilers 5. Forthcoming 6. Composite 7. Common
But if the pattern p is "comp" the function returns 3, they are (1. complex 2. compiler 3. composite)
Assume the following class. Answer the questions below class course { char* name; double mark[3];//first, second and final marks };
Write the all constructors for all parameter of the class.
Write a function that takes a course and returns the final mark of this course.
In the main function create array of 100 courses.
Write a function that returns all fail courses in the created array
\table[[AAO-P10-R01,309?2018
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

Students also viewed these Databases questions