input may any number except 1,output will always 1..
conditions only one variable should be declare,don't use
operators,expressions,array,structure
Answers were Sorted based on User's Feedback
Answer / kesavalu
#include<stdio.h>
#include<conio.h>
main()
{
int d;
printf("enter any no except 1");
scanf("%d",&d);
clrscr();
printf("1");
getch();
}
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / nila
#include<stdio.h>
#include<conio.h>
main()
{
int a;
printf("Enter the number:");
scanf("%d",&a);
printf("1");
getch();
}
Is This Answer Correct ? | 3 Yes | 1 No |
#include<stdio.h>
main()
{int a;
printf("%d",scanf("%d",&a));
}
Is This Answer Correct ? | 9 Yes | 8 No |
Answer / dana
#include<stdio.h>
#include<conio.h>
main()
{
int x;
printf{"enter the num ",x);
scanf("%d",&x);
if(x!=1)
printf("1");
else
printf(" ");
}
Is This Answer Correct ? | 0 Yes | 0 No |
What does dm mean sexually?
Why does notstrcat(string, "!");Work?
What are data types in c language?
How can you avoid including a header more than once?
Explain what is the heap?
What are the types of bitwise operator?
dennis ritchie invented C language in AT&T bell laboratory what is the extension of AT&T?
can anyone please tell about the nested interrupts?
What is a char in c?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is c language used for?
Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)