What is displayed by this program?

```
#include

void seven(int *xp);

int
main(void)
{
int x, y;

x = 5; y = 6;
seven(&x);
seven(&y);

printf("%4d%4d\n", x, y);

return(0);
}

void
seven(int *xp)
{
int y;

y = *xp + 2;
*xp = y * 3;
}
```
a. 21 24
b. 21 8
c. 5 6
d. 5 8
e. none of the above


a. 21 24

Computer Science & Information Technology

You might also like to view...

Which one of the following assignment statements will cause an error because of mismatching data types?

a. decimal cost = 0.99m; b. decimal retail = 100; c. decimal wholesale = 50.0; d. decimal fee = 0.01m;

Computer Science & Information Technology

Pages in books and magazines are often formatted with centered margins

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

Computer Science & Information Technology

Indenting code that should be executed when an if statement evaluates as true makes your program easier to read, but the indentation is not necessary.

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

Computer Science & Information Technology

URL is an acronym for __________.

United Reform Language Uniform Reform Locator United Resource Locator Uniform Resource Locator

Computer Science & Information Technology