Below is a program. What is the output? (Paper may be required)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If you put it in a perl compiler, this is the output. Following what happens in the code and doing what the code says to do to the variables, when $p is printed, it will print 795