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
Is anything faster than c?
What is line in c preprocessor?
What is #define size in c?
What are the different properties of variable number of arguments?
What is register variable in c language?
What is signed and unsigned?
Why do we use int main instead of void main in c?
Explain output of printf("Hello World"-'A'+'B'); ?
Explain what are header files and explain what are its uses in c programming?
How pointer is different from array?
How can you read a directory in a C program?
Write a program to print numbers from 1 to 100 without using loop in c?
Can true be a variable name in c?
How can you convert integers to binary or hexadecimal?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above