I wanted to ask, is it possible to print patterns through functions in c?
In the case it is possible, then please tell me what mistake am I making in the program below. (for the first time perhaps, I am trying to create something without my teacher's asking.)
int n, r;
printf("Enter the value of n:");
int pattern(int n)
int i, j;