Westonci.ca is the best place to get answers to your questions, provided by a community of experienced and knowledgeable experts. Connect with professionals on our platform to receive accurate answers to your questions quickly and efficiently. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.
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
Thanks for using our platform. We're always here to provide accurate and up-to-date answers to all your queries. We appreciate your time. Please come back anytime for the latest information and answers to your questions. Get the answers you need at Westonci.ca. Stay informed by returning for our latest expert advice.