What value is assigned to q in the statement q = f (3, 3, 4); when f is defined as follows?
```
int f
(int q, int b, int c)
{
int i, j, k, p;
p = 0;
for (i = 0; i < q; i++)
{
for (j = b; j >= 4; j--)
p = p + j;
for (k = 3; k <= c; k++)
p = p + k;
}
}
```
a. 21
b. 28
c. 30
d. 33
e. 38
a. 21
Computer Science & Information Technology
You might also like to view...
The declaration int a, b, c; is equivalent to which of the following?
A. inta , b, c; B. int a,b,c; C. int abc; D. int a b c;
Computer Science & Information Technology
____ is a symmetric key-encryption technique that will replace the commonly used DES standard.
A. AES B. RC2 C. IDEA D. Blowfish
Computer Science & Information Technology