+ 1

Can anyone explain how it really works..

this type of question came a lot of time in challenge quizes.I didnt fully understand it.. #include <iostream> using namespace std; int main() { int arr[]={1,2,3 ,4}; for(int i=0;i<3;i++){ arr[1]= arr[i]; cout <<arr[i]<<endl; } }

2nd Jul 2018, 1:30 PM
Abdullah Al Nahian
Abdullah Al Nahian - avatar
1 Answer
+ 3
which part don't you understand
2nd Jul 2018, 1:57 PM
hinanawi
hinanawi - avatar