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 / vignesh1988i

but yhe printf statement will print one "hello" and one
world.......................... but i said it must enter to
the if part as well as else part controls..............
before a long time baxk itself i tried this method.........
then only i read the question of IBM properly

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is #line used for?

1048


Hai what is the different types of versions and their differences

1929


What is hash table in c?

1012


Is it possible to execute code even after the program exits the main() function?

1316


What is a built-in function in C?

1574


Should I learn data structures in c or python?

1006


What is header file definition?

1070


c language interview questions & answer

1943


What are the disadvantages of external storage class?

1041


How to write a code for reverse of string without using string functions?

2125


What is ## preprocessor operator in c?

1065


Function calling procedures? and their differences? Why should one go for Call by Reference?

1073


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1076


Are comments included during the compilation stage and placed in the EXE file as well?

1065


What is the meaning of && in c?

1001