Thread: Quiz Time
View Single Post
  #78 (permalink)  
Old 05-08-2008, 02:17 PM
sukatoa's Avatar
sukatoa sukatoa is offline
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 526
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
at first attempt of printing "Ha", allowable... obviously,

The problem is on the second attempt....
H and a are now char literals... There decimal value will be printed.. instead of concatenating like the previous one, it now adds their decimal representation that leads to 169

eg. Ha169.

ref, ascii chart.

Just sharing,
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote