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 / manjunath.goudar

//#include<stdio.h>
main()
{
if(1)
printf("hello");
else;
printf("world");
}

Is This Answer Correct ?    7 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1133


Where in memory are my variables stored?

1248


What is the full form of getch?

1355


What does emoji p mean?

1205


Here is a neat trick for checking whether two strings are equal

1074


Is c a great language, or what?

1166


Can you please compare array with pointer?

1156


What is a pointer in c?

1695


Describe newline escape sequence with a sample program?

1171


What does the message "automatic aggregate intialization is an ansi feature" mean?

1242


Why c is a mother language?

1101


Explain what are header files and explain what are its uses in c programming?

1202


Are the outer parentheses in return statements really optional?

1160


What are Macros? What are its advantages and disadvantages?

1221


Why c is a procedural language?

1129