I've create an array X
as X = [1 2 3 4 5]
and I want to insert 0
at the end of it.
Is there any difference in using X = [X, 0]
and X = append(X, 0)
?
I didn't find anything about and I'm not sure if I can notice the difference.
Thanks in advance!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…