char lbuffer[5000]; // will this array get released after the function over
sprintf(lbuffer,"Stock in List [%s] Quantiry %d", SymbolList,qty);
but according to me memory is keeps on increasing when ever we call the function it is not reducing after it is completed