get any number as input except 1 and the output will be
1.without using operators,expressions,array,structure.don't
print 1 in printf statement
Answer Posted / karna
void main()
{
int n;
printf("%d",scanf("%d",n));
getch();
}
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Define and explain about ! Operator?
What does %d do?
Why C language is a procedural language?
What is a c token and types of c tokens?
Why is c faster?
What is malloc and calloc?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
How to find a missed value, if you want to store 100 values in a 99 sized array?
Write a program to print "hello world" without using a semicolon?
What is zero based addressing?
how to construct a simulator keeping the logical boolean gates in c
What are dangling pointers in c?
Explain function?
What are linked lists in c?
What is array in C