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
What are enums in c?
What is a void pointer in c?
What is %s and %d in c?
What is type qualifiers?
What is the use of in c?
Explain what are reserved words?
What is the difference between functions getch() and getche()?
Explain can static variables be declared in a header file?
What is the difference between constant pointer and constant variable?
Explain what is the difference between a free-standing and a hosted environment?
write a program for the normal snake games find in most of the mobiles.
Tell us two differences between new () and malloc ()?
What is substring in c?
Differentiate between #include<...> and #include '...'
What is indirection in c?