I wanna store a list of memory addresses in an array and then randomize the array and get a single address. How will I do it?
Use the inside operator. See section 18.5.3 Set membership in the 1800-2012 LRM
In reply to dave_59:
But the inside operator can be used only if I know the range of the memory address right?
In reply to Ammu4392:
No. You can put your list of memory addresses in an array and pick one of values in the array. See the last example in the section I mentioned with the array fives.