Stump the CFChump - 1
Published on
I am doing a "Stump the CFChump" series. I recently passed the ColdFusion 9 exam and this is material I learned while studying. I have several CodeSchool gift cards to giveaway so comments who answer correctly I'll email you the discount code. "Stump the Chumps" is from the "Car Talk" so I am spinning that title for ColdFusion. These are questions that stumped me when studying.
- Please try to not google or run the code before answering.
- Must have your correct email address when commenting to receive a CodeSchool giftcard
- Giftcards are available until I run out for correct answers
Stump the CFChump 1
Question
What will display when this code is ran?
COLDFUSION
<cfset myvar = 4>
<cfoutput>
#++myvar# - #myvar--#
</cfoutput>
Answers
A. 5 - 4 B. 5 - 5 C. 4 - 3 D. 5 - 3