โ† Tech Mahindra questions

Print something without using the main function

Filed under Tech Mahindra

The question

Write a program that prints output without using the main function.

No write-up yet. Related questions below have one.

Related Tech Mahindra questions

Collected from public candidate posts and coding forums. Updated Nov 2026.