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
Answer / rohit kakade
this pgm has error because height is not defined in the main()
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ajay
out is same ,so programmer write the other message in else part ,
| Is This Answer Correct ? | 0 Yes | 0 No |
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
code for reverse alternate words from astring
Why void is used in c?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Is a house a mass structure?
What is string function in c?
What is the difference between null pointer and void pointer
10 Answers CTS, Manforce, MAQ Software,
Which header file is used for clrscr?
Can you think of a way when a program crashed before reaching main? If yes how?
Why is c called a mid-level programming language?
Please write the area of a RIGHT ANGLED TRIANGLE.