Home » Blog » How will you print numbers from 1 to 100 without using loop?How will you print numbers from 1 to 100 without using loop? tejsumeru.12@gmail.comInterview QuetionsWe can use recursion for this purpose. void printNos(unsigned int n) { if(n > 0) { printNos(n-1); printf("%d ", n); } } Tags:c programmingc++ Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Comment * Save my name, email, and website in this browser for the next time I comment.