C Tutorial – A Star pyramid and String triangle using for loops

In this C language tutorial we will look at a much-requested subject, printing a star pyramid and a string triangle using for loops.

We know that this question is often asked as part of homework (lab) assignments, but we got so much requests that we couldn’t ignore it. BUT we are urging you to at least try to make the homework questions yourself! At the end of this tutorial we will give two alternative questions, so you can try to fix those yourself. More »


Posted in C Tutorials | 30 Comments