Respuesta :

The range-based for loop in c 11 is designed to work with a built-in variable known as a range variable.

Variables are merely reserved memory spaces for the storage of values. This implies that you set aside some memory when you create a variable. A variable with a range data type is called a variable range. It has the same definition as the Dim Statement. To give the variable a range, we use the Set statement. To access the values for the range variable, use the property method. It serves as a more readable alternative to the classic for loop that operates over a set of values, such as all of the elements in a container. It runs a for loop over a number of values. used in place of the conventional for loop that operates over a range of values to make code more readable.

More about range variable in C11 https://brainly.com/question/13156229

#SPJ4

ACCESS MORE