Answer:
None of the programming languages
Step-by-step explanation:
Given
Required
Which will produce a compilation error
The given code snippet will pass the syntax test and the semantic test for the three programming languages (C++, Java and C)
In other words, it will compile without error.
The reason is that (for the three programming languages);
- Variables (i, n and j) were declared properly
- Variables i and j were initialized properly
- Lastly, the arithmetic operation was also done properly
Hence, none of the programming languages will return an error