Given the function definition, which of the following are correct?
```
int func(int n, double d)
{
int j = n;
double sum = 0;
while( j >= 0)
{
sum += d;
-j;
}
return sum;
```
a) returns 7*2
b) returns 7+2
c) returns 7!
d) There is a syntax error in the program so it won’t run.
e) It compiles but computes none of these.
e) It compiles but computes none of these.
You might also like to view...
The next generation of the World Wide Web is called __________.
Fill in the blank(s) with correct word
Sequential Search is in the complexity class
A) O(1) B) O(log n) C) O(n) D) O(n log n)
With ________, tags are customized for content of a specific industry
Fill in the blank(s) with the appropriate word(s).
When preparing slides for a presentation, use special effects liberally — many graphics, colors, sounds, or other special effects will help the audience to concentrate.
Answer the following statement true (T) or false (F)