PERL:: What is:
- (52-80)*42
- 42*(52-80)?
Ans: 1) -28 2) -1176. Why?
Have fun explaining/justifying this please!
#!/usr/bin/perl
use strict;
print 42*(52-80) , "\n";
print ((52-80)*42) , "\n";
print (52-80)*42 , "\n";
print "\n";
my $i=(52-80)*42;
print $i, "\n";
Output:
> -1176
> -1176-28
> -1176