Answers for Rust Online Test - Set 8
←Go Back to Online Practice TestQues. Which of the following keywords is used to define a function in Rust? |
Option 1. def |
Option 2. func |
Option 3. fn |
Option 4. fun |
Ans. Option 3 |
Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website. |
Enter Reason |
Is it helpful?
Yes
No