Why this for-each loop is producing infinite loop output - 'w''w''w''w''w''w''w'
(Algo++) Advanced Data Structures in C++
Doubts
arushibansalabc
(Aarushi Bansal)
May 15, 2020, 4:36pm
#1
s1=“Iteration method”
for(char c:s1)
{
cout<<c<<’:’ ;
}
return 0;