#include<stdio.h> void prnnum(int s) { if(s==0) return; int n; n=s % 10; s/=10; prnnum(s); printf("%d ",n); } int main() { prnnum(5432); return 0; }