Question: How many errors are in the following program? # /usr/bin/perl print Enter the block size of your file system: bs = ; chop ($bs);
How many errors are in the following program?
# /usr/bin/perl
print "Enter the block size of your file system: "
bs =
chop ($bs);
if ($bs > 8192)
print "Lot of wasted space ";
} else {
print "Reasonable size";
}
| a. | 4 | |
| b. | 5 | |
| c. | 6 | |
| d. | 7 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
