C program to print the following pattern : 1 12 123 1234 12345

C program to print the following pattern :


1
12
123
1234
12345
Solution: