What type of error in the following program?

your options are a). Syntactical error b). Run Time error c). Logical error d). Any other error(then write in answer what type of error) https://code.sololearn.com/c5K63aCs50IM/?ref=app

3/30/2019 4:39:00 PM

Abhishek Dimri

1 Answer

New Answer


When you run your code snippet, you can see the error is using the same variable names twice, which violates the rules of C++. Do you know the special name for rules of programming language?