🚀 Question 201:
What does this program print? 🦀
fn main() {
let mut s = String::from("rust");
{
let r = &mut s;
r.push_str("ace");
}
println!("{}", s);
}
🚀 Question 200:
What will this print? 🦀
```rust
fn main() {
let v = vec![1, 2, 3];
let iter = v.iter();
drop(v);
for x in iter {
println!("{}", x);
}
}
```
🚀 Question 199:
In Rust, what happens when your landlord sells the house? Do you still get to be the tenant? 🦀
```rust
fn main() {
let s1 = String::from("hi");
let s2 = &s1;
let s3 = s1;
println!("{}", s2);
}
```
🚀Question 198:
What is the output?🦀
fn main() {
let data = vec!["a", "bb", "ccc"];
let max = data.iter()
.max_by_key ( |s| s.len () )
.unwrap ();
println!("{}", max);
}
873 Followers 806 FollowingSoftware engineer, Building https://t.co/cSkWbXhoL6 ; an ecosystem of React and nextjs quality resources handpicked by experts
10K Followers 11K Following🌊💧 Sui, SuiNS moderator | Walrus moderator | Mitosis moderator | Hyperlane moderator | Linera ambassador |
Professional POS Validator services
228 Followers 2K FollowingMoney is just a way to keep score. The best people in any field are motivated by passion. That becomes more true the higher the skill level gets. Eric Raymond
1.1M Followers 629 FollowingLayer 1 blockchain designed to make digital asset ownership fast, private, secure, and accessible to everyone. Twitter by @SuiFoundation. RT ≠ endorsement.
10K Followers 11K Following🌊💧 Sui, SuiNS moderator | Walrus moderator | Mitosis moderator | Hyperlane moderator | Linera ambassador |
Professional POS Validator services
439K Followers 898 FollowingI talk about web and social • DevRel @APILayer • Building https://t.co/niju9j3UA2 & https://t.co/TxBXHrPKDu • Prev @Rapid_API @HyperspaceAI
946K Followers 158 FollowingWe're a community of millions of people who are building new skills and getting new jobs together. A 501(c)(3) public charity. Tweets by @abbeyrenn.
144K Followers 900 FollowingSolana's Leading NFT Marketplace: https://t.co/ozR7bnTiuS
Creators of the first 10k cNFT Collection: https://t.co/xiX2e2hVHl 👾
21K Followers 4 FollowingTeaching the next generation of web3 developers.
150+ hours of Smart Contract Development and Security Courses, completely for Free.
Powered by @cyfrinaudits
3K Followers 101 FollowingIndustry leading developer training from Solana Core contributors. Join the Discord and enroll in our free, flexible delivery courses at 👉 https://t.co/dUrBLPL9NC
12K Followers 236 FollowingOpinionated Texan SWE who aims to build and share great software with the world • Building @webtui & @fedibtc • I like guns and TUIs
30K Followers 93 FollowingBuilding, coming to a city near you ☀️ Covering @Solana APEX and Community Events around the globe 🌎 Account run by the @SolanaFndn.
165K Followers 73 FollowingSolana Foundation is a non-profit organization dedicated to the decentralization, growth, and security of the Solana network. https://t.co/yNxCZqnJqi
5K Followers 501 FollowingSolana Summit APAC: Solana's Biggest Founders & Developers Summit by and for the ecosystem | Solana Summit 'Special Editions': 1 day community run major events