In the function header line and body:
``` void CalcArea(double rad)
{
double rad, area;
area = PI * pow(rad, 2);
cout >> "The area is==>" << area << endl;
}```
Assume the variable PI is declared globally.
Given what is shown here, what would be the compiler error?
A. There is no error.
B. rad is declared twice.
C. The cout statement is incorrect.
D. The pow function is misspelled.
C
You might also like to view...
Which of these is not a reason that goal setting motivates team members?
A) It clarifies what must be done to get results. B) It makes explicit what is expected of team members. C) It portrays the operational technology in understandable terms. D) Simply setting goals and monitoring them seems to motivate individuals.
One way to organize your Outlook items is to create ____.
A. attachments B. profiles C. folders D. protocols
An application that runs on a computer device using the Windows graphical user interface is called a(n) ____________________ application.
Fill in the blank(s) with the appropriate word(s).
The text you assign to the reset button's ____________________ attribute will appear as the button label.
Fill in the blank(s) with the appropriate word(s).