CP-DSA-Questions
CP-DSA-Questions copied to clipboard
Add files via upload
A program which reverses any array in the C programming language
Related issue
Closes: #262
Describe the changes you've made
The program contains 3 methods: reverseArray(), printArray(), and main(). The reverseArray() reverses the elements of any array using the start and end indexes of the said array The printArray() prints out all the elements of any array The main() calls the above methods
Mention any unusual behaviour of your code (Write NA if not)
NA
Checklist:
(To mark, write x inside the square brackets like this: [x])
- [x] My code follows the guidelines of this project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly whereever it was hard to understand.
- [x] My changes generate no new warnings.
Additional Info (optional)
Any additional information you want to give