errors which come during compilation is known as compilation error.
here we get syntax errors only not logical errors like division by zero.
logical error occur during run time
example:if you write a program for division with zero you will not get compilation error but during execution you will error
Chat with our AI personalities