?In the code below, what is the scope of the num1 variable?
?
int num1;
int main()
{
cin >> num1;
cout << num1 *.10;
?
... more code here ...
}
A. the program lifetime
B. ?local
C. ?until the cout function finishes
D. ?global
Answer: B
Computer Science & Information Technology
You might also like to view...
What is the role and goal of neutrality during a test?
What will be an ideal response?
Computer Science & Information Technology
To complete the days of the week sequence that begins with the days Monday and Tuesday, the Excel user would select the cells containing Monday and Tuesday and use the ____________________ to complete the sequence.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology