Functions and Strings
This lesson discusses functions and Strings.
We'll cover the following
Passing Primitive String - String Literal (&str
)
String literals are passed to the functions just like other variables. They can be reused after the function call.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy