Multiple choice What will be the output of the following code? int main{ const int x = 1; x++; } 2 1 Compile time error 0 None of these Reveal answer Fill a bubble to check yourself C Correct answer Explanation The const keyword makes the value of the variable constant and we cannot change its value, so it will give compile time error.