You're actually not as late as you think - many successful engineers figure out their direction during 3rd year. Here are the main paths you can focus on with realistic timelines for campus placements:
Software Development - This offers the most opportunities and fastest skill-building. You could focus on web development (learn JavaScript, React, Node.js), mobile app development, or backend systems. With 6-8 months of dedicated practice, you can build a strong portfolio.
Data Science/Analytics - High demand field. Start with Python, SQL, and basic statistics. Learn pandas, matplotlib, and work on projects with real datasets. Many companies hire entry-level data analysts.
DevOps/Cloud Computing - Growing field with good opportunities. Learn AWS/Azure basics, Docker, and CI/CD pipelines. Cloud certifications can give you an edge.
Product/Business Roles - If coding isn't your strength, consider product management or business analyst roles. Focus on understanding business processes, basic SQL, and communication skills.
Core Engineering - If you're in mechanical, electrical, or civil, don't overlook core companies. Many students chase software jobs, leaving less competition in core fields.
My suggestion: Pick one path and commit fully for the next 6 months. Build 2-3 solid projects, contribute to open source if possible, and practice coding problems if going the software route. The key is depth over breadth at this stage.
What type of engineering are you studying, and do any of these paths interest you more than others?