I am wondering is there a way to make function A uses random number stream say starting from srand(1) and function B uses random number stream say starting from srand(2) in the same program.
You should be looking at all of them to decide which one you think is best for your situation. For example, in most cases the Mersenne twister algorithm is good enough, but that depends on your situation.