Thread: Cheap C Doubt
View Single Post
Old 02-01-2006, 07:00 AM   #3 (permalink)
simple
simple's Avatar
 
True Techie

Join Date: Jan 2006

Location: Earth

Posts: 171

simple

Default

hey dude! i tried out both your codes( C and C++) in linux( vi editor) and i have found that in both cases i am getting the answer as 2. so check your compiler and try out the same code in a different compiler. c ya!!!!
simple is offline