MCQs > IT & Programming > Perl > What will be the output of the given Perl program? my Sx= 'MSASSAMAMAC'; my $y = '$SSSS'; my Smodified_x = $x.$y; my leength = length($modified_x); print 'For modif‌ied value of x: $xlength\n'; my $2: substr($modified_x,3.3); print '2 is $z\n';

Perl MCQs

What will be the output of the given Perl program?

my Sx= "MSASSAMAMAC";


my $y = "$SSSS";


my Smodified_x = $x.$y;


my leength = length($modified_x);


print "For modif‌ied value of x: $xlength\n";

my $2: substr($modified_x,3.3);


print "2 is $z\n";


Answer

Correct Answer:

For modif‌ied value of>c 16

z is SSA 


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