I am learning context-free grammar, and I don't understand how to identity expression, factor and term in a programming language like C or C++.
Suppose we have an assignment statement, id := E, where E is any arithmetic expression.
What is a term? What is an expression? and What is a factor in an actual piece of code?
We can have
int i = 3, j = 14
int i = 3 + j * 14;
Thank you very much.