c program to print alphabet patterns

write a c program to print alphabet patterns
pq
pqr
pqrs
pqrst

#include <stdio.h>

int main()
{
    int j,k;
    for(j=1;j<=5;j++)
    {
        for(k=1;k<=j;k++)
        {
            printf("%c",'p' + k-1);
        }
        printf("\n");
    }
}
Copyright © C Program | Java | OpenGL Programming | Hadoop at Computaholics