If your sub domain link is present on the main website and you have submitted a sitemap for the main site, then your sub-domain will be indexed, other wise create a separate sitemap..