Cursus Raku / Elementa / Fundamenta functionum / MAIN functio / Legere linea mandati argumenta

Quiz — Legere linea mandati argumenta

Here is the program:

sub MAIN($a) {
    say $a;
}

1

What does it print if it is run as shown below?

$ raku t.raku 123
123Enter the expected output: ␣␣␣␣␣␣␣

2

What does it print now?

$ raku t.raku "123 456"
123␣456Enter the expected output: ␣␣␣␣␣␣␣

Legere linea mandati argumenta   |   Quiz — Defaulte valores