inserts integers 2 to n in c

for (i=2;i<=n;i++)

insert(i,c);