Perl Scripting
Interview Questions And Answers
Q: - What value is stored in $c after running the following code?
$a=6;
$a++;
$b=$a;
$b--;
$c=$b;
Submitted By:-Amrinder Email-ID: - amrinder_gill1984@rediff.com
Q: - Concatenation can be performed only with the concatenation operator (.), is it true or false ?
False
Submitted By:-Amrinder Email-ID: - amrinder_gill1984@rediff.com
Q: - How many for (while, if) blocks can I nest inside each other?
As many as you like, within memory restrictions of your system. Usually, however, if you have deeply nested loops, it a sign that you should approach the problem differently.
Submitted By:- Amrinder Email-ID: - amrinder_gill1984@rediff.com
![]() |


