Array is collection of similar data types. You can store group of data of same data types using array. In array different data types elements are not allowed that simply means if we declare an integer array then we can store only integer type of elements in it.
There are two types of arrays in C:
1. One dimensional array.
2. Multi-dimensional array:
There are two types of arrays in C:
1. One dimensional array.
2. Multi-dimensional array:
- Two dimensional array.
- Three dimensional array.
- Four dimensional array etc...
In this tutorial you will learn lot of exercises and example program's of array which will help you to improve your knowledge.
Exercises and Solutions of Arrays in C:
1. C program to print sum of all array elements.
2. C program to print all negative elements in array.
3. C program to find percentage of given subjects marks using array.
4. C program to find largest element of array.
5. C program to print array elements in reverse order.
6. C program to copy the elements of one array into another array.
7. C program to merge two arrays sorted in descending order.
2. C program to print all negative elements in array.
3. C program to find percentage of given subjects marks using array.
4. C program to find largest element of array.
5. C program to print array elements in reverse order.
6. C program to copy the elements of one array into another array.
7. C program to merge two arrays sorted in descending order.
8. C program to add two matrices using array.
9. C program to print subtraction of two matrices using array.
10. C program to print multiplication of two matrices using array.
9. C program to print subtraction of two matrices using array.
10. C program to print multiplication of two matrices using array.
11. C program to print given array elements in ascending order.
12. C program to delete the element from array.
12. C program to delete the element from array.
Share your thoughts in the comment section given below....... :)
No comments:
Post a Comment
If you have any doubts, please discuss here...👇