Modify the above program to display the octal equivalent instead of the hexadecimal equivalent of the input number. Write a procedure to perform string reversal. The procedure reverse receives a...



Modify the above program to display the octal equivalent instead of the hexadecimal


equivalent of the input number.



Write a procedure to perform string reversal. The procedure reverse receives a


pointer to a character string (terminated by a NULL character) and reverses the string.


For example, if the original string is


slap


the reversed string should read


pals


The main procedure should request the string from the user. It should also display the


reversed string as output of the program.



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here