How do I set a favorite language for my submissions?

To set a favorite language for your submissions, follow these steps:

  1. Go to any of the practice problems. For example, https://www.hackerearth.com/practice/basic-programming/input-output/basics-of-input-output/practice-problems/algorithm/modify-the-string
  2. In the Code Editor, select your preferred language from the drop-down. For example, C++ (g++5.4.0).
  3. Click  
  4. Click Set C++ (g++5.4.0) as your favorite.

You have successfully set your default language.