How to generate unique name?

How to generate unique name?

function unique_str()

{

auto t, tt, leng, i;

t = get_time();

leng = length(t);

tt = \"\";

for (i = 1; i <= leng; i++)

{

tt = tt & (sprintf(\"%c\", 97 + i + substr(t, i, 1)) );

}

return tt;

}


By:UMANG
Date:2002-02-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related TESTING Subjective Links

TESTING Subjective interview questions and answers for experienced and fresher