In c 11 you cannot use a range-based for loop to modify the contents of an array unless you declare the range variable as a reference variable. true false

Respuesta :

This statement is true that the In c 11 you cannot use a range-based for loop to modify the contents of an array unless you declare the range variable as a reference variable.

According to the statement

we have given that the one statement and we have to tell that the those statement is true or false after analyzing it.

So,

In C++ 11 is  a programming language which is used to write the coding. And in this language you cannot use a range-based for loop to modify the contents of an array unless you declare the range variable as a reference variable.

Because in the coding it is not possible that the you can make loop without declare the random variable in the loop.

Due to this reasons without declare the variable it is not possible.

So, This statement is true that the In c 11 you cannot use a range-based for loop to modify the contents of an array unless you declare the range variable as a reference variable.

Learn more about the C++11 here

https://brainly.com/question/12242745

#SPJ4

ACCESS MORE
EDU ACCESS
Universidad de Mexico