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
How do I swap bytes?
What is the difference between strcpy() and memcpy() function in c programming?
What do you mean by recursion in c?
In which header file is the null macro defined?
Explain argument and its types.
What are c identifiers?
Explain what is a pragma?
Lists the benefits of c programming language?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Create a simple code fragment that will swap the values of two variables num1 and num2.
List the difference between a "copy constructor" and a "assignment operator"?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
what is bit rate & baud rate? plz give wave forms
How many bytes are occupied by near, far and huge pointers (dos)?
What is the use of getchar functions?