What is the output of the following code?
int a = 3, b = 2;
int c = 0;
while (c < 3)
{
a = a + b;
cout << a << “ “;
c = c + 1;
}
cout << b;
5 7 9 2
You might also like to view...
To modify a decimal number initializer by a constant factor, choose the Math menu option, the ____.
A. concatenation operator (+), and computeDecimal B. concatenation operator (+), and Custom Decimal Number C. multiplication operator (*), and computeDecimal D. multiplication operator (*), and Custom Decimal Number
Outline a system to support a distributed music rehearsal facility. Suggest suitable QoS requirements and a hardware and software configuration that might be used.
What will be an ideal response?
Describe the differences between a Web Part and an app part
What will be an ideal response?
Windows Vista offers an option called "Adjust for best performance" that displays typical Vista visual effects
Indicate whether the statement is true or false