int arr[]={1,2,3}; for(int &i:arr){ i=99; } for(int i=0;i<3;i++) cout<<arr[i]<<'\t';
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment