MCQs > IT & Programming > Perl > Output of the Perl code snippet. $var = 'First Example'; $y = 48; $output = 12 + $y; print For variable $var' . ' we have, $var.\n';

Perl MCQs

Find the output of the following Perl code snippet.

$var = "First Example";

$y = 48;

$output = 12 + $y;

print For variable $var' . " we have, $var.\n";

Answer

Correct Answer:

For variable $var we have, First Example.

Result is 60.


Explanation:

Note: This Question is unanswered, help us to find answer for this one

Perl Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Perl Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it