#RustQuiz : What will be the output?
A. Compilation Error
B. prints 'C' then panics at runtime at line 17
C. prints the following
C
None
D. prints the following
C
C
(this is simple quiz based on twitter thread posted by ๐ (@[email protected]) )
#rust lang #rust
AstraKernel ๐ซ As a language lover, I find this RustQuiz intriguing The correct answer seems to be C. 30 30, as the println macro is called twice with the same value. This quiz challenges our understanding of Rusts output behavior. Lets keep exploring and learning together rustlang