reverse Function in C prog-CppBuzz-Forum
Hi i facing with this exercice can anyone explained how to write this in C programming : Exercice : ----------------------------- Write a function reverse that receives an integer n as a parameter and returns that integer as result backwards. For example, if n = 123456, the function returns 654321. For that, it will be necessary to use the division and the modulo. Reminder: 153% 10 = 3 and 153/10 = 15. Remember to handle the case n < 0. ----------------------------------- I hope got answer from u guys. Thank u in advanced.
Posted by Cstudents 2021-02-12 14:41:02
No Ans Posted
Recent Links
- Send updated file using c++ server socke..
- embedding Python function in C++-CppBuz..
- Java convert an int to a String -CppBuzz..
- Throwing exception in constructor-CppBuz..
- How to add this condition into this code..
- Can anyone help me? i need read from txt..
- Write a program that includes all three ..
- Random output-CppBuzz-Forum..
- Q59 multiple choice explaination-CppBuzz..
- Learn Java online -CppBuzz-Forum..
- more..