Gate CS-2010 Question Paper With Solutions

Q. 49 The following program is to be tested for statement coverage :

begin
  if (a== b) {S1; exit;}
  else if (c== d) {S2;]
       else {S3; exit;}
  S4;
end

Gate CS-2010 Question Paper With Solutions

Answer: (D)

Explanation:

Gate CS-2010 Question Paper With Solutions

Learn More:   Gate EC-2003 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here