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

In C programming, what command or code can be used to determine if a number of odd or even?

0 Answers  


Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.

4 Answers  


write a program to print infinte number

4 Answers  


Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)

1 Answers  


write a prgram of swapping with 2 valiables

6 Answers  


Explain what are multibyte characters?

0 Answers  


What are the average number of comparisons required to sort 3 elements?

2 Answers   DRDO,


Write a code to generate a series where the next element is the sum of last k terms.

0 Answers   Aspiring Minds,


write a program to concatenation the string using switch case?

0 Answers  


Write a program to identify if a given binary tree is balanced or not.

0 Answers   JPMorgan Chase,


What's a good way to check for "close enough" floating-point equality?

0 Answers   Celstream,


write a program to display all prime numbers

0 Answers  


Categories