can anyone explain how the for loop works here..?
Just follow the sequence 1-2-3-4-5-6 in the image below to understand loop working.
Hope it helped :)
https://gateoverflow.in/?qa=blob&qa_blobid=6027311124229894358
64.3k questions
77.9k answers
244k comments
80.0k users