I have been in this company as a trainee software developer for a month now. I am on probation period for training. The coworker joined the company on the same date and he is from the same university but from a different department(Computer Department) and I am from Electronics and Communication. We are working as a software developer on C#. The thing is I finished my assigned task at a given time with very good effort and the other co-worker takes more to finish his and still has lots of bugs in his code even if he has easier tasks. Sometimes I have to help him out to make the application up and running.
Our manager has good relation with me. He told me a few days ago that our IT executive only wants one developer and they are planning to choose another co-worker even if he doesn't know much about coding and development. I still am fresher so when my probation period gets finished I will be getting kicked out. Every IT senior developers in the company now know about this thing. They even told me that "you are good at what you are doing keep it up."
What should I do? Should I talk about this situation to the IT executive? Should I start looking for another job and leave? I like this company so much because everyone pays respect and it has a very good working environment.
I am from India.
update:
I asked solution for this situation to my manager and they said you can directly talk to your IT executive which I already talk to them too. They said "the other one Co-worker interact with me earlier and he said many things about you. like you don't work hard, you don't know much of coding, etc." I know This all accusations are wrong for me and this is all opposite for me the other co-worker is saying wrong things about me the IT executive doesn't know that this thing that he said about me all are wrong. what should I do? should I tell the truth to the IT executive or should I put some bugs and errors in the co-worker's code when I help him or should I just go to his desk and confront him?