What is the output of the following, if it were embedded in an otherwise correct and complete program and run?

```
int x = 10;
while (x > 0)
{
cout << x << “ ”;
x = x + 3;
}
cout << endl;
```

a) 10 13 16 19 . . .
b) The compiler detects that this will be an infinite loop, so it does not compile.
Insert lowercase be
c) This is an infinite loop. When compiled and run, it runs until machine limitations stop it, or you get tired of it and kill the process.
d) 0 3 6 9.


a) 10 13 16 19 . . . and c) This is an infinite loop. When compiled and run, it runs until machine limitations stop it, or you get tired of it and kill the process.

Computer Science & Information Technology

You might also like to view...

The ____ object verifies that the object on a Web form contains data.

A. EmptyObject B. ObjectNull C. RequiredFieldValidator D. ObjectRequired

Computer Science & Information Technology

Buffered (registered SDRAM) delays data transfers by one clock cycle for accuracy

Indicate whether the statement is true or false

Computer Science & Information Technology

The Application Guide ensures that the code will be error free.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

An organization wishes to provide better security for its name resolution services. Which of the following technologies BEST supports the deployment of DNSSEC at the organization?

A. LDAP B. TPM C. TLS D. SSL E. PKI

Computer Science & Information Technology