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 / amarnathreddy
i am going to write only logic
n=1000
n1=n-(n-1)
1000-999=1
Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What are header files? What are their uses?
Explain how can I avoid the abort, retry, fail messages?
Why doesnt long int work?
Explain the difference between exit() and _exit() function?
What is the difference between exit() and _exit() function?
Which is best linux os?
Why c is called a middle level language?
all c language question
What does it mean when a pointer is used in an if statement?
Tell us the use of fflush() function in c language?
Why does everyone say not to use gets?
What is the benefit of using const for declaring constants?
Write a program to print fibonacci series using recursion?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
What is the difference between āgā and āgā in C?