Solved

Consider the Following C Code Segment

Question 14

Multiple Choice

Consider the following C code segment.
For (i = 0, i{
For (j=0; 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 this code
C) There is scope of strength reduction in this code
D) There is scope of dead code elimination in this code

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents