You can find source code from internet, from any magazine like Dr. Dobe, or in your organization your seniors must have written source code for various projects or products. There are lots of open source products which you can study.