TCS Coding Practice Question | Reverse a Number
Given a number, the task is to reverse this number using Command Line Arguments. Examples: Input: num = 12345Output: 54321Input: num = 786Output: 687 Approach: Since the number is entered as Command line Argument, there is no need for a dedicated input lineExtract the input number from the command l