As a general rule of thumb, it's best to wait until the hiring manager brings up the topic. Best case scenario, a company lists the position's salary range on the job posting, and you can use that to best determine if the job and starting salary fit your needs before you even apply.