Adobe
9A0-127 · Question #76
What is the value of the variable output when the following code executes? <cfset output = "There is no answer" /> <cfif 1 eq true> <cfset output = "The answer is one" /> <cfelseif 0 eq true> <cfset…
The correct answer is A. "The answer is one". See the full explanation below for the reasoning.
Question
What is the value of the variable output when the following code executes? <cfset output = "There is no answer" /> <cfif 1 eq true> <cfset output = "The answer is one" /> <cfelseif 0 eq true> <cfset output = "The answer is two" /> <cfelse> <cfset output = "The answer is three" /> </cfif>
Options
- A"The answer is one"
- B"The answer is two"
- C"The answer is three"
- D"There is no answer"
How the community answered
(27 responses)- A78% (21)
- B11% (3)
- C7% (2)
- D4% (1)
Community Discussion
No community discussion yet for this question.