hi!
to work in software company, why do you need mechanical engineering. mechanical is such a tough department to study in. so if you are really interested in software, then join CSBS or CSE or IT department.
but answering your question, yeah, any department student can join software comany. provided if you have coding, presentation and office skills.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile