MCQs > IT & Programming > Perl > What will be the output of the following Perl code snippet?

print @exps = (1) x 5; print @exps, '\n'; @var = (3) x @exps; print @var;

Perl MCQs

What will be the output of the following Perl code snippet?

print "\t" x ($taWhat will be the output of the following Perl code snippet?

print @exps = (1) x 5; print @exps, '\n'; @var = (3) x @exps; print @var;b/5),

@exps = (1) x 5;

print @exps, "\n";

@var = (3) x @exps;

print @var;


Answer

Correct Answer:

1111111111

33333


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