코딩Coding/Rust연습
Rust연습_ X출력하기
내인생PLUS
2020. 9. 5. 23:35
728x90
fn main() {
let x = 45;
println!("The value of x is {}", x);
}
결과
fn main() {
let x = 45;
println!("The value of x is {}", x);
x = 60;
println!("The value of x is {}", x);
}
결과
fn main() {
let mut x = 45;
println!("The value of x is {}", x);
x = 60;
println!("The value of x is {}", x);
}
결과
▷ 다른글 보기 ◁
★★★Rust Toturial 로드맵(Road Map)첫시작!-★★★(총정리)Rustacean이 되어 보자!!Let's go! (tistory.com)
반응형