Arrays in C++ Introduction

Here we see that when the initialisation in array is done where value 1,2 and 3 are given to the index 0,1 and 2 of array respectively.
But when we input all the values from the user then we get the values that we had input rather than the value that we had provided during the initialisation.

Yes @yajurkhurana you are right, so what issue you got in this?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.