i m using rand() function in my program to generate random list of integers in a array using a loop. all thing is ok but rand() generate list in same sequence every time i call it. for example when it generate 10 integers list than list seqence will remain same 7,1,5,9,1,8,3,1,4,6. please help me in this regard.