+ 9

Why not 7 or not 2 or not 5?

Why 4? https://code.sololearn.com/WZE7v2PVnSXH/?ref=app I do not understand that code...

10th May 2019, 9:03 PM
Sławek J.
6 Réponses
+ 11
Yes size of new argument list is returned.
11th May 2019, 5:25 AM
Sonic
Sonic - avatar
+ 9
It print the size of the array after push the 7 [2,4,5,7]
10th May 2019, 9:11 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 8
Since you pushed 7... So final Size is displayed
11th May 2019, 5:35 AM
$hardul B
$hardul B - avatar
+ 6
But why it returns the size, not array????? Without push it display array.
11th May 2019, 5:38 AM
Sławek J.
12th May 2019, 10:07 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 4
Why without push it returns array But with push ut returns length?
13th May 2019, 6:13 PM
Sławek J.