if an iterator is accessed when it has no elements.which error occurs
Answers
Answered by
7
Don't know what is the best answer of this question so plz don't worry
Answered by
3
If an Iteration is accessed when it has no elements, Compile time error occurs.
Compile Time error is an error that prevents the compiler from successfully compiling the program and generating its outcome.
It is also referred to as Syntax error. Certain cases of Syntax error are:
Variables are wrongly defined, semicolons are missing, mixing of upper case and lowercase, no elements defined properly and so on.
Debugging helps to find out these errors.
Similar questions