In which country did u apply?
If u dont mention loan and only mention that ur friend in canada is paying u that much money, CHC wil surely question why is he investing on you? They believe that no one other than ur blood relatives will sponsor u without expecting something in return.
If u mention a loan in canada, they would question how r u going to pay back loan.
In both cases they may think that u r going to work in canada to return money paid by frnd or taken as loan.
So be prepared to answer that how r u going to return money without working in canada.