C program to print the following pattern : 1 23 456 78910

C program to print the following pattern :


1
23
456
78910
Solution: