Quiz on Operators

Let's check your knowledge of operators in Perl.

1

What is the output of the following code?

$myvar = 5;
print $myvar++;
A)

6

B)

5

C)

7

D)

None of the above

Question 1 of 60 attempted

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy