What is the value of x after execution of the following code segment?
int ctr = 0;
int x = 3;
while (ctr < 2)
{
x = x + 4;
ctr = ctr + 1;
}
11
Computer Science & Information Technology
You might also like to view...
Rank the cabling that should be used from least to most expensive
What will be an ideal response?
Computer Science & Information Technology
_________ methods can be called without the need for an object of the class to exist.
a) special b) independent c) static d) dependent
Computer Science & Information Technology