starsstayforforever starsstayforforever
  • 09-03-2022
  • Computers and Technology
contestada

Determine the value of a and b at the end of the following code segment:

int a = 5;
int b = 10;
a++;
b*=a;
a = b + b;

The value stored for a is _____ and the value stored for b is _____

Choices

120 and 60
60 and 30
5 and 10
30 and 60

Respuesta :

ThatKidx
ThatKidx ThatKidx
  • 09-03-2022

Answer:

30 and 60

Explanation:

Answer Link

Otras preguntas

Jeremy has a young son. He is careful to buckle his son's carseat properly, stand within arm's reach in situations where his son might fall, and pays close atte
Why does the speaker use cultural perspective in this passage?
Review this statement from "Slamming Words: Making Poetry Live." For many slam enthusiasts, this emphasis on informality and authenticity exists in contrast to
A right circular cone is intersected by a plane that passes through the cone's vertex and is perpendicular to its base, as in the picture below. What is produce
Slavery and westward expansion dominated the topics of the election of 1860. True or False
x/9+3<4 what is the solution to the ineqaulity
Which statement accurately describes how the understanding of the Doppler effect is applied to the study of galaxies?
Quadrilateral a'b'c'd' is the result of dilating quadrilateral abcd about point p by a scale factor of 5/2
For all values of x f(x) = 3x + 2 Find f-¹(-12)
Which description is common to most vascular and nonvascular organisms in the kingdom plantae A. Use photosynthesis to get nutrients B. Produce cones C. Produc