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

#include<stdio.h>

int main()
{
if(!printf("Hello")
{
printf("Hello");
}
else
printf("World");
}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many keywords are there in c?

1021


What is the maximum no. of arguments that can be given in a command line in C.?

1087


Define recursion in c.

1200


What is a void * in c?

1021


What is adt in c programming?

1101


Are pointers integers in c?

1029


What does malloc () calloc () realloc () free () do?

1002


What are qualifiers?

976


What is the translation phases used in c language?

1060


Explain what is the difference between functions abs() and fabs()?

1098


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2074


What should malloc() do?

1101


What is the difference between the local variable and global variable in c?

927


What are the string functions? List some string functions available in c.

948


What is the use of getchar() function?

1074