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");}
}

Answer Posted / rohit kakade

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are enums in c?

655


What is a void pointer in c?

603


What is %s and %d in c?

586


What is type qualifiers?

653


What is the use of in c?

574






Explain what are reserved words?

630


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

615


Explain can static variables be declared in a header file?

674


What is the difference between constant pointer and constant variable?

742


Explain what is the difference between a free-standing and a hosted environment?

632


write a program for the normal snake games find in most of the mobiles.

1783


Tell us two differences between new () and malloc ()?

610


What is substring in c?

634


Differentiate between #include<...> and #include '...'

615


What is indirection in c?

620