Question: Q.1 Write a C program which can store names of 5 of your friends in an array. Create a function named number_of_vowels(), which will find

 Q.1 Write a C program which can store names of 5

Q.1 Write a C program which can store names of 5 of your friends in an array. Create a function named number_of_vowels(), which will find the number of vowels in each name. Display each name and the number of vowels in each name as output. Q.2 Write a C Program that takes input of three [3] numbers. Create two (2) functions to perform 'Sum', 'Product' of the 3 numbers. Q.3 Write a program in C to swap two numbers using function. Test Data : Input 1st number: 2 Input 2nd number: 4 Expected Output: Before swapping: n1 = 2, n2 = 4 After swapping: n1 = 4, n2 = 2

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!