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 / 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 |
Post New Answer View All Answers
Explain how can a program be made to print the name of a source file where an error occurs?
What is logical error?
What is calloc()?
Why do we use header files in c?
How can I manipulate individual bits?
Write the control statements in C language
Is there a way to compare two structure variables?
How to write c functions that modify head pointer of a linked list?
What is scanf () in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is array within structure?
How to implement a packet in C
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What does %c mean in c?
What is the significance of scope resolution operator?