Which is better and why

Revision en1, by C_o_d_e__, 2024-05-26 11:46:32

lets we have

strung s="" , k="abcd";

(1) s=s+a;

(2) s+=a;

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English C_o_d_e__ 2024-05-26 11:47:12 2 Tiny change: 've \n\nstrung s="" , ' -> 've \n\nstring s="" , '
en1 English C_o_d_e__ 2024-05-26 11:46:32 90 Initial revision (published)