You are not logged in.

#1 2015-03-18 05:39:56

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Output of following script

Question:
The output of following script would be:

$somerar=15;

function ad it () {

GLOBAL $somevar;

$somerar++ ;

echo "somerar is $somerar";

}

addit ();

Option A):
somerar is 16
Option B):
somerar is 1
Option C):
somerar is 15
Option D):
somerar is $ somerar

Correct Answer is Option A):
somerar is 16


Failure is the first step towards seccess.

2015-03-18 05:39:56

Advertisement
Ads By Google

Re: Output of following script



\n

Board footer