Arrays in C++ Introduction

At 6:15, Prateek bhaiya tells us that in order to interate over the array we use for (i=0;i<=n;i++) but I think that we’ll only go till i<n (excluding n)

hello @yajurkhurana
yeah it should be < n .
in later part of video , bhaiya has taken < only

1 Like

Okay. Thanks. You can close this doubt now.

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.