Generate a tree in C language.

Hey,
how to make a tree of the symbol "*"
my code is
#include <stdio.h>
#include <conio.h>
main(){
clrscr();

int a,b,c;
  for(a=1;a<=10;a++)
    {
      for(b=1;b<=a;b++)
       {
           printf("*");
            }
               printf("\n");
     }
getch();
}

and the output of it is

Please only ask question related to clang on this mailing list.

For questions like yours please use stackoverflow or google or something similar.

(This function will print the inverse of what you showed

void print_tree(int i){
int k,l;
for(k=i;k>=0;k–)
{
for(l=k;l>=0;l–)
{
printf("*");
}
printf("\n");
}
}

)