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...


main()
{
int age;
float ht;
printf("Enter height and age");
scanf("%d%d",&height,&age);
if((age<=20)&&(ht>=5))
{printf("She loves you");}
else
{printf("She loves you");}
}

Answers were Sorted based on User's Feedback



main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&a..

Answer / rohit kakade

this pgm has error because height is not defined in the main()

Is This Answer Correct ?    1 Yes 0 No

main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&a..

Answer / ajay

out is same ,so programmer write the other message in else part ,

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Why is c so powerful?

0 Answers  


What is a macro in c preprocessor?

0 Answers  


What is the difference between pure virtual function and virtual function?

0 Answers  


What does it mean when a pointer is used in an if statement?

0 Answers  


What does main () mean in c?

0 Answers  


What are global variables?

0 Answers  


Write a program in c to print 1 121 12321 1234321 123454321

11 Answers   ANR, College School Exams Tests, Mu Sigma, Wipro,


What is the right way to use errno?

0 Answers  


Explain modulus operator. What are the restrictions of a modulus operator?

0 Answers  


How can you convert integers to binary or hexadecimal?

0 Answers  


C passes By value or By reference?

5 Answers   Geometric Software, Infosys,


What is extern storage class in c?

0 Answers  


Categories