(Hint: look at the terminal symbols) expr --> term {( + | - ) term} term --> factor {( * | / ) factor} factor --> a | b | c
x = 2 * ( y - x) + x { x > 10}
expr --> expr { + term } | ( expr )
expr --> expr {( + | - ) term} | term
A --> Ab
A --> bB
A --> bC
E --> E + T | T
T --> T * F | F
F --> ( E ) | id
void f() { int arr[20]; .... }
float* ptr1 = new float;
float* ptr2;
ptr2 = ptr1;
delete ptr1;
*ptr2 = 2.5;
int[] a = new int[10];