Nesting of loops, that is, one for statement within another for statement, is allowed in C.Theme: Inner Loop and Outer Loop Practice Using For in CWrite a C Program to print half pyramid using * as shown in figure below.