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

How pointer is different from array?

1074


What is the difference between functions getch() and getche()?

1094


Is it better to use a macro or a function?

1155


What is the use of getchar functions?

1180


What are the different types of endless loops?

1073


Can the curly brackets { } be used to enclose a single line of code?

1167


Explain enumerated types.

1030


Is using exit() the same as using return?

1344


Do you know the purpose of 'register' keyword?

1019


What is omp_num_threads?

1078


What are the three constants used in c?

993


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1068


What are the 4 types of unions?

1034


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2864


What is the concatenation operator?

1147