Does the return statement in the following function cause syntax errors?
```
void f()
{
int max = 0;
if (max != 0)
cout << max;
else
return;
}
```
A. No
B. Yes
A. No
Computer Science & Information Technology
You might also like to view...
The flashing vertical line that indicates where text will be inserted when you start typing
A) Insertion point B) Cell reference C) KeyTip
Computer Science & Information Technology
Declare an array called inventory of 20 elements of struct type item (already defined).
What will be an ideal response?
Computer Science & Information Technology