please explain the code to obtain below o/p in c lang

expalin c program to produce the following o/p

             1
         2      3
      4      5    6
    7    8      9   10

please explain each statement in above o/p program