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 / ajay
out is same ,so programmer write the other message in else part ,
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
How can I direct output to the printer?
Tell me is null always defined as 0(zero)?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Why do we use null pointer?
Who developed c language and when?
Explain pointer. What are function pointers in C?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What are Macros? What are its advantages and disadvantages?
What is union and structure in c?
What is an array in c?
What are the advantages of c preprocessor?
What was noalias and what ever happened to it?
What is c mainly used for?
What is the size of array float a(10)?