Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

The code is::::: if(condition)
Printf("Hello");
Else
Printf("World");
What will be the condition in if in such a way that both
Hello and world are printed in a single attempt?????? Single
Attempt in the sense... It must first print "Hello" and it
Must go to else part and print "World"..... No loops,
Recursion are allowed........................

Answer Posted / vaibhav

int a=5,b=5;
if(a==5)
printf("hello");
else;
printf("world");

Is This Answer Correct ?    4 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why isnt any of this standardized in c?

1125


How can I convert a number to a string?

1250


swap 2 numbers without using third variable?

1177


in iso what are the common technological language?

2163


What is getch?

1273


what are non standard function in c

1969


Explain the difference between ++u and u++?

1187


What is the argument of a function in c?

1101


How can you determine the maximum value that a numeric variable can hold?

1298


What is an auto keyword in c?

1146


can anyone suggest some site name..where i can get some good data structure puzzles???

2157


What are variables c?

1093


Can we use visual studio for c?

1154


What is optimization in c?

1070


Explain how can a program be made to print the name of a source file where an error occurs?

1246