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


Please Help Members By Posting Answers For Below Questions

Define and explain about ! Operator?

696


What does %d do?

841


Why C language is a procedural language?

700


What is a c token and types of c tokens?

688


Why is c faster?

681






What is malloc and calloc?

677


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1583


How to find a missed value, if you want to store 100 values in a 99 sized array?

930


Write a program to print "hello world" without using a semicolon?

702


What is zero based addressing?

806


how to construct a simulator keeping the logical boolean gates in c

1828


What are dangling pointers in c?

734


Explain function?

740


What are linked lists in c?

749


What is array in C

809