Problem Set 11 - Pointers, Structures Files
Problem Set 11 - Pointers, Structures Files
2. WAP that will find the maximum number between two numbers using a pointer. *
3. WAP that will print the elements of an array without using index. *
4. WAP that will calculate the length of the string using pointers. *
6. WAP that will count the number of vowels and consonants in a string using pointer. *
Sample input Sample output
7. WAP that will compute the sum of all elements in an array using pointers. ***
8. WAP that will print the elements of an array in reverse indexed order. *
10. WAP that will calculate the sum of numbers from 1 to n using recursion. **
13. WAP that will count the digits of a given number using recursion. **
14. WAP that will get the largest element of an array using recursion. ***
15 WAP that will print even or odd numbers in given range using recursion.
17 WAP that will create and store the following information in the sample.txt text file.
1 Zahid
2 Tanvir
3 Akif
21 WAP that will append multiple lines at the end of a text file.