subject

3. What would be the output from the following program? Show all working. #include

void main()
{
int a = 5, y;

y = -5;
while (y <= 9)
{
a = a * 2;
y += 3;
}

printf ("a = %d \n y = %d", a, y);
}

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:20, joshajgaa
Find the inverse function of f(x)= 1+squareroot of 1+2x
Answers: 2
image
Computers and Technology, 21.06.2019 19:40, queenskyyt
Write the quartstogallons java class that declares a named constant to hold the number of quarts in a gallon (4). also declare a variable to represent the number of quarts needed for a painting job, and assign an appropriate value—for example, 18. compute and display the number of gallons and quarts needed for the job. display explanatory text with the values, for example:
Answers: 2
image
Computers and Technology, 22.06.2019 09:50, shadow29916
What is a rush associated with alcohol?
Answers: 1
image
Computers and Technology, 23.06.2019 09:30, gabby640
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
You know the right answer?
3. What would be the output from the following program? Show all working. #include

voi...

Questions in other subjects:

Konu
Spanish, 24.08.2019 14:30