C Program to Print all digits of a given number
Given a number N, the task is to write a C program to print all digits of the number N in their original order. Examples: Input: N = 12 Output: 1, 2 Input: N = 1032 Output: 1, 0, 3, 2 Method 1: The simplest way to do is to extract the digits one by one and print it. Extract the last digit of the num