 Hello friends, I am Sanjay Gupta. In this video, I am going to demonstrate you how you can print this pattern in C programming. Before starting, you can note my information. You can follow or subscribe my YouTube channel that is Sanjay Gupta underscore tech school. You can download my app Techimus based on programming, which is available on Google Play. Here you can see I have included header file stry.h, then main function containing variables ij and of integer type and character variable ch is declared. Then printf will print enter how many rows you want to print message on console. The entered value will be stored inside n variable. Then a loop is implemented, which is starting from one and it will repeat n times. So this loop is for number of rows. Then ch is initialized by a before starting this J loop. J is repeating i times. Suppose initially value of i is one, so J loop will repeat one time. Then ch will print a on console and after printing its value will be incremented by one. So ch will be having B after termination of J loop new line will be displayed. Then i++ will make value of i2. Now at last ch was B, but here we want to print this row every time from A. So that's why after incrementing variable i, ch will be again initialized by A. So every time whenever J loop will be beginning, ch will be containing A inside this variable. And then printf will be printing A and then B and then C as per the repetition of J loop. So this way above mentioned pattern will be displayed on console. Now I am executing this code. I am entering 5. You can see the output A then A B, A B C, A B C D, A B C D E. These values are displayed on console with the help of this program. I hope you have understood how this pattern is printing with the help of these nested loops in C programming. If you want to watch more programming related videos, you can follow or subscribe my YouTube channel that is Sanjay Gupta underscore Tech School. Thank you for watching this video.