| 10 | // fxn for display all the elements of the array |
| 11 | |
| 12 | void Display(struct Array arr) |
| 13 | { |
| 14 | int i; |
| 15 | printf("Elements Are\n"); |
| 16 | for (i = 0; i < arr.length; i++) |
| 17 | printf("%d ",arr.A[i]); // it will display all the elements |
| 18 | } |
| 19 | int main() |
| 20 | { |
| 21 | struct Array arr; |