Which three statements are accurate about variable scope? Choose 3 answers?
Answers
Answered by
0
Answer:
1.parallel block can use same variable
2.a variable can be defined at any point in a block
3. A static variable can restrict the scope to the current block
Answered by
0
Three statements about variable scopes are as follows ':'
• Subblocks can not reuse a parent block's variable name.
• A variable can be defined at any point in a block.
• Parallel blocks can use a similar variable name.
These three are accurate about variable scopes.
• Generally, variable scopes are related to C++ programming.
• Variable scopes are used in three different places within a program.
• Normally, every variable has a global scope. It refers to the admission of a variable in a given function or program.
Similar questions