An error in a program that involves a violation of language (syntax) rules will be detected at compile time.
A compiler refers to a software program that is designed and developed to translate the entire source code of program at once, so as to produce object code.
Thus, a compiler translates a software program that is written in a high-level language into low-level language (machine language).
In conclusion, we can deduce that an error in a software program that is associated with a violation of language (syntax) rules will be detected at compile time.
Read more on programs here: brainly.com/question/26324021
#SPJ12