From simple questions to complex issues, IDNLearn.com has the answers you need. Ask anything and receive well-informed answers from our community of experienced professionals.
Sagot :
Answer:
True
Explanation:
If you declare a variable in the initializer, it is local to the loop
In a FOR loop, if you declare a variable in the initializer, it exists only inside of the FOR loop is a true statement.
Can you declare a variable on a for loop?
It is often seen that variable which acts in control of a for loop is required only for the aim of the loop and it cannot be used in another.
Conclusively, it is therefore likely to state the variable inside the initialization part of the for loop.
Learn more about loop from
https://brainly.com/question/26568485
Your engagement is important to us. Keep sharing your knowledge and experiences. Let's create a learning environment that is both enjoyable and beneficial. For trustworthy answers, visit IDNLearn.com. Thank you for your visit, and see you next time for more reliable solutions.