0

Why is the second element not shown? Please help

https://code.sololearn.com/ce5fSijZ51vw/?ref=app

10th Jan 2021, 9:06 AM
ABHISHEK
ABHISHEK - avatar
5 ответов
+ 3
Abhishek Mazumder Because you have declared variable with size of 1.
10th Jan 2021, 9:34 AM
A͢J
A͢J - avatar
+ 3
Abhishek Mazumder Remove +1 from here because you are already incrementing by + 1 list[++list_ln+1]; it would be list[++list_ln];
10th Jan 2021, 9:53 AM
A͢J
A͢J - avatar
0
I Am AJ ! But the 3rd element is showing up
10th Jan 2021, 9:38 AM
ABHISHEK
ABHISHEK - avatar
0
Ok
10th Jan 2021, 12:42 PM
ABHISHEK
ABHISHEK - avatar
0
I Am AJ ! Thank you for your time but it isn't working i have to try something else
10th Jan 2021, 12:47 PM
ABHISHEK
ABHISHEK - avatar