RSS Forums RSS
Please support our C advertiser: Programming Forums

Changing the meaning of IF else statement

Join Date: Mar 2007
Posts: 1
Reputation: mohiuddin.shaik is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mohiuddin.shaik mohiuddin.shaik is offline Offline
Newbie Poster

Solution Changing the meaning of IF else statement

  #1  
Mar 28th, 2007
main()
{
if( ? )
{
printf("welcome");
}
else
{
printf("to ieg");
}
}
-----------------------------------------------------------------------
Output should be
welcome to ieg


what should come in place of ' ? '
AddThis Social Bookmark Button
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:41 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC