Question: Q5/ Choose the correct answer: (20 marks) 1. Which variable/variables cannot be accessed outside the function? a. Local Variables b. Global variables C. Function Parameters

Q5/ Choose the correct answer: (20 marks) 1. Which variable/variables cannot be accessed outside the function? a. Local Variables b. Global variables C. Function Parameters d. Both a and c 2. Which for loop will loop through even numbers? a. for($i=0, $i0,$i-=2) c. for($i=1, $iPropertyName = value; b. object->$PropertyName = value; c. $object-> $Property Name = value; d. object->PropertyName = value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
