Predict the output of following code:
#include<stdio.h>
int main()
{
  int n,i,j;
  printf ("Enter the number of row");
  scand("%d",&n);
 for(i=1;i<=n;i++)
  {
     for(j=1;j<=i;j++)
      {
         printf(" * ");
      }
       printf("\n");
return 0;



Posted on by