List of questions
Related questions
Question 18 - CTFL4 discussion
The following requirement is given ''Set X to be the sum of Y and Z''.
All the following four implementations have bugs.
Which one of the following bugs can be caught by Static Analysis?
A.
int x = 1. int y = 2. int y = 3. X = y=z;
B.
int x = 1. int y = 2. int z = 3. X = z-y
C.
int x = 1. Int y = 2. Int z = 3. Z = x +y
D.
int y = 2 Int z = 3. Y = z+y
Your answer:
0 comments
Sorted by
Leave a comment first