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
How to draw the flowchart for structure programs?
What is adt in c programming?
Why do we use int main?
What is a spanning Tree?
Compare interpreters and compilers.
Write a program to print factorial of given number without using recursion?
What are the uses of a pointer?
Explain 'bit masking'?
What are the rules for the identifier?
What are the two types of structure?
Explain is it better to bitshift a value than to multiply by 2?
What is an endless loop?
What is a memory leak? How to avoid it?
What is string constants?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }