Compiler design code generation and optimization pyq (4.1 -4.16) GATE (2006-2015)
4.1 [GATE 2006 : 2 Marks] Question:Consider the following C code segment.for (i=0; i<n; i++){for (j=0; j<n; j++){if (i % 2){x += (4 * j + 5 * i);y += (7 + 4 * j);}}}Which one of the following is false?(a) The code contains loop invariant computation(b) There is scope of common sub-expression elimination in
Compiler design code generation and optimization pyq (4.1 -4.16) GATE (2006-2015) Read More »
