Average Function
| 306 | |
| 307 | //Average Function |
| 308 | float Avg(struct array arr) |
| 309 | { |
| 310 | return (float)Sum(arr)/arr.length; |
| 311 | } |
| 312 | |
| 313 | //Reverse by copying the content to second array in reverse order and again copy to the initial array |
| 314 | void Rev1(struct array *arr) |