MCQs > IT & Programming > Perl > Output of the Perl code snippet. $_ = '1122446688'; pos = 5; s/.(?=.\G)/M/g; print;

Perl MCQs

Find the output of the following Perl code snippet.

$_ = "1122446688";

pos = 5;

s/.(?=.\G)/M/g;

    print;


Answer

Correct Answer:

112M446688

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