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

What is call by reference in functions?

1321


What is dynamic variable in c?

986


How many keywords (reserve words) are in c?

1083


What are the ways to a null pointer can use in c programming language?

1076


What is the advantage of using #define to declare a constant?

1037


Can you apply link and association interchangeably?

1071


What is the right type to use for boolean values in c?

990


What's the difference between constant char *p and char * constant p?

1089


Why we use stdio h in c?

983


How can I get back to the interactive keyboard if stdin is redirected?

1134


How can I write a function analogous to scanf?

1099


What is the collection of communication lines and routers called?

1055


How can a process change an environment variable in its caller?

1128


Can an array be an Ivalue?

1055


Why does everyone say not to use gets?

1027