Rust programing language®
429 subscribers
14 photos
150 links
rust programing channel
Download Telegram
🦀 One #RustChallenge for today

A.
Starting race
Ending race
140
280

B. Error (explain why)

C.
Starting race
140
280
Ending race

D.
Starting race
Ending race
280
140

#rustlang #rust

Vote your answer here
🦀 #RustChallenge

What is the result?

1. A and B both print "Kernel"
2. A prints "Kernel" and B gives error
3. B prints "Kernel" and A gives error
4. A and B both gives error

#rustlang #rust
#RustChallenge

What is the result?
A.
Hello
Drop it - Samson
Drop it - Ross
Bye, World

B.
Hello
Drop it - Ross
Drop it - Samson
Bye, World

C. Error (explain why)

D.
Hello
Bye, World
Drop it - Samson
Drop it - Ross

#rustlang #rust

just vote we learn here
#RustChallenge

Simple rust challenge for you

What is the result?

A. Prints AstraKernel
B. Panics with error AstraKernel
C. Compilation error
D. Prints nothing

#rustlang #rust
🦀 #RustChallenge

fn main() {
let mut i = 0;
'hello_world : loop {
i = i +2;
println!("{}",i);
if i < 4{
break 'hello_world;
}
if i < 10{
break ;
}
}
}


What is the result?

A. Error
B. Prints 2 4 6 8
C. Prints 2
D. Prints 2 6 8

#rustlang #rust

Vote here in channele
🦀 #RustChallenge
#rust #rustlang #programing #dev

fn main(){
let a = "Hello";
let b = &*&&*a;
let c = &*&*a;
let d = &**&&*a;

println!("{}", format!("{:p}", c) == format!("{:p}", a));
println!("{}", format!("{:p}", c) == format!("{:p}", b));
println!("{}", format!("{:p}", c) == format!("{:p}", c));
println!("{}", format!("{:p}", c) == format!("{:p}", d));

}

A - err (explain)
B - true true true true
C - false treu true true
D - true false true true

vote in channele 👇
🦀 #RustChallenge 🦀
#rust #rustlang #programing #dev #EZ


// CODE No1
fn main(){
let x = 2;
assert_eq!(x,2_i8);
println!("{}",x.pow(6));
}
// CODE No2
fn main(){
let x = 2;
println!("{}",x.pow(6));
}

What will be the outcome?

1. Both runs and gives the output

2. CODE No2 gives output and A gives overflow error

3. CODE No2 gives output and B gives error

4. Both gives error

vote in channele and DONT FORGET TO JOIN OUR FAMELY
#RustChallenge 🦀🦀

What is the result?

A. Prints 1 (explain how)
B. Prints 2 (explain how)
C. Error (explain why)

vote in channele and don't forget to join our rust family❤️
🦀 #RustChallenge

Will it print "Yes"?

A. Yes
B. No
C. It will give error

#rustlang #rust
🦀 #RustChallenge #ez😋
ANSWER IN CHANNEL AND JOIN FOR MORE FUN😜😜

WHAT WILL PRINT??

A. RUST
B. js
C. RUSTjspython
D. ERROR 404
#RustChallenge:

What is the output?

A. It will print kernel

B. It will give a compilation error (explain why)

C. It will give a runtime error (explain why)

#rustlang #rust
#RustChallenge:

🦀 #RustQuiz

What is the result?

A. Prints
Rust is Awsome

B. Compilation error
C. Runtime error
👍4