โ† Tech Mahindra questions

OOPs, C/C++ syntax, and database sorting

Filed under Tech Mahindra

The question

Explain inheritance and types, constructors, static variables, implement Armstrong's number, write C++ syntax for string comparison and polymorphism types, and sort SQL in descending order.

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

Related Tech Mahindra questions

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