Question: 1 . Write a program in C + + to read a set of characters using a pointer and dynamic memory allocation and to print

1. Write a program in C++ to read a set of characters using a pointer and dynamic memory
allocation and to print in the reverse order.
Input : ravic
Output : civar
2. Write a program in C++ to find the maximum number between two numbers using a
pointer and dynamic memory allocation.
3. Write a program in C++ to store n elements in an array and print the elements using a
pointer and dynamic memory allocation.
4. Write a program in C++ to find the factorial of a given number using pointers and
dynamic memory allocation.
5. Write a program in C++ to count the number of vowels and consonants in a string using
a pointer and dynamic memory allocation.
6. Write a program in C++ to compute the sum of all elements in an array using pointers
and dynamic memory allocation.
7. Write a program in C++ to print the elements of an array in reverse order using pointers
and dynamic memory allocation.

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!