If you don't tell your bank that you are going to let your flat out, then this could be a breach of your mortgage, and they could demand full repayment.
Obviously, many people don't bother to tell their bank that they intend to rent the property out, regardless of the above.