Question: Q4: Write a C++ program that asks the user to enter a string, pass it to a function reverse_fun. The function returns the string in

 Q4: Write a C++ program that asks the user to enter

Q4: Write a C++ program that asks the user to enter a string, pass it to a function "reverse_fun". The function returns the string in reverse order without using String library and prints the output on screen. (5 Marks) Note: Function implementation and string return is necessary. Sample Input/Output Output Input Hello World C++ Programming dlrow olleH gnimmargorP HC Part-IV (CLO-4) (10 Marks) Q5. Write a C++ program in which user initializes an integer array and passes the array to a function "repeat_count". Function's task is to find repeating numbers in the array and display the repeating number(s) (5 Marks) Sample Input/Output Output Input [1.5.2.0.6,9.8.4.11.15) [1.5,2,5,6,9.8.4.1.5) No repeating number Repeating numbers: 5.1

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!