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 |
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?
can we access one file to one directory?
How does sizeof know array size?
any string of bits of length 'n' represents a unique non- negative integer between.............?
What are c preprocessors?
which one is better structure or union?(other than the space occupied )
What is static function in c?
how we can say java is platform independent, while we require JVM for that particular Operating System?
Write a program to reverse a linked list in c.
write a program to generate 1st n fibonacci prime number
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.
what is the similarities between. system call and library function?