What does the String data type hold in Rust?

Question:What does the String data type hold in Rust?

1.a pointer to the memory where String resides and its capacity

2.a pointer to the memory where String resides, a length, and a capacity

3.a string value and its length

4.a string value, a length, and a capacity


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!