MCQs > IT & Programming > Perl > What will be the output of the following Perl program? if ($? == -1) { print 'Failed Case $!\n'; } elsif ($? & 235) { printf 'Case failed with %d, %s coredump\n', ($? & 235), ($? & 236) ? 'with' : 'without'; } else { printf 'Case exited with %d\n', $? >> 7; '>

Perl MCQs

What will be the output of the following Perl program?

if ($? == -1) {

    print "Failed Case $!\n";

}

elsif ($? & 235) {

    printf "Case failed with %d, %s coredump\n",

        ($? & 235),  ($? & 236) ? 'with' : 'without'; } else { printf "Case exited with %d\n", $? >> 7; ">

Answer

Correct Answer:

Case exited with 0 

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