2.33.4 [5] <2.14> Compare the worst-case number of executed instructions
per non-last loop iteration in your array-based code from 2.33.1 and your
pointer-based code from 2.33.3. Note: the worst case occurs when branch conditions
are such that the longest path through the code is taken, i.e., if there
is an if statement, the result of the condition check is such that the path with
more instructions is taken. However, if the result of the condition check would
cause the loop to exit, then we assume that the path that keeps us in the loop
is taken.
 
 
View Solution
 
 
 
<< Back Next >>