How does system assign the number at the end of ttyUSB devices when multiple devices present upon system boots? #usb #serialport

How does system assign the number at the end of ttyUSB devices when multiple devices present upon system boots?
I am trying to interface with multiple USB serial devices through c programming. The goal is to keep track of all physical devices across multiple power cycles and system cold start. The serial num...

๐)