input may any number except 1,output will always 1..
conditions only one variable should be declare,don't use
operators,expressions,array,structure
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between fread buffer() and fwrite buffer()?
How can I get random integers in a certain range?
Explain what is the difference between the expression '++a' and 'a++'?
What is %d used for?
What is difference between structure and union with example?
What is the use of f in c?
What happens if you free a pointer twice?
What is the difference between malloc calloc and realloc in c?
What is the purpose of & in scanf?
How can you find the exact size of a data type in c?
What are the different file extensions involved when programming in C?
What is sizeof return in c?
what are the advantages of a macro over a function?
Write a program to reverse a linked list in c.
Write a program which returns the first non repetitive character in the string?