Tuesday, August 19, 2014

Previous Interview Question Next Interview Question
Home

which of the following indicates the value displayed in the alert when the function starter() is called in the code below?

function starter(){
var x,Y;
X=9;
Y=multiplier(X);
X=ender(Y);
alert(X);

return true;
}

function multiplier(Y){
var X,Z;
X=10;
Z=Y*X;
return Z;
}

function ender(Z){
var X,Y;
X=5;
Y=multiplier(Z+X);
return Y;
}
     a)      9
b)      95
c)       905
d)      950


Answer :   D

Previous Interview Question Next Interview Question
Home

0 comments :

Post a Comment