We have seen that a lot of websites like HackerEarth, HackerRank have compilers for all the languages (Java, C/C++, etc.). We can use these to compile and run our code on these websites only.
Stack Overflow is one of the most-used websites and there are programming questions. So would it be better if Stack Overflow included a compiler for languages like Java, C, C++, etc.? It would be easy and helpful for both the user who is asking a question and the user who is answering.