Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

armanriazi•rust•string

"hello" called-> string literal
"A String" is made up of three parts, shown on the left: a pointer to the memory that holds the contents of the string, a length, and a capacity.
String store data on heap and refs to stack.
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+7 =