It is always up to the immigration officer if they allow you entry at all or for how long. If they think you are planning on working illegally or might overstay, they can turn you back.
However, you also have the option of applying to extend your visit visa, see
http://www.cic.gc.ca/english/visit/extend-stay.asp