What is the output of the following program snippet: fn main() { let three = 3; if three { println!("number was three"); } }

Question:What is the output of the following program snippet: fn main() { let three = 3; if three { println!("number was three"); } }

1.number was three

2.unrecognised keyword println!

3.error mismatched types

4.3


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!