RSS Forums RSS
Please support our C advertiser: Programming Forums

Changing the meaning of IF else statement

Join Date: Feb 2007
Location: Bangalore, India
Posts: 535
Reputation: thekashyap will become famous soon enough thekashyap will become famous soon enough 
Rep Power: 4
Solved Threads: 50
thekashyap's Avatar
thekashyap thekashyap is offline Offline
Posting Pro

Re: Changing the meaning of IF else statement

  #3  
Mar 28th, 2007
Originally Posted by Ancient Dragon View Post
any conditional statement that is either true or false. for example if you were asked to enter either 'Y' or 'N' (Yes or No) then the statement might read
if( answer == 'Y')
{
   // true statement
}
else
{
   // false statement
}

Thisnk it's a trick question. May be you didn't read it fully..

@mohiuddin.shaik
It is allowed to write/change anything other than ? e.g. can I use a goto inside the if block?
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:33 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC