How to use C languege to auto generate number???
example:
1001
1002
than 1st number is fit(1002)

by not using this matter:

Code:
int id=101;
.........
id++;
pls help!!!