For becoming a software engineer, you have to complete a bachelors’ degree in computer science or information technology from the reputed college. You have to learn programming languages like C, C++, Java, etc. Take part in hackathons and coding competitions regularly. Do a few good projects and publish the blog explaining your project. You have to do internships in your summer breaks. In your final year, apply for entry-level jobs in companies. If you follow a particular plan, it is easy to become a software engineer.
You can watch this video to have a better idea of how to get a software engineer role: