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 / bheemakarna1989
example
input : 4554
output : 1
input :567
output : 1
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why is c used in embedded systems?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What tq means in chat?
What are data structures in c and how to use them?
ATM machine and railway reservation class/object diagram
What is indirection in c?
Differentiate fundamental data types and derived data types in C.
p*=(++q)++*--p when p=q=1 while(q<=6)
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Write a Program to find whether the given number or string is palindrome.
What is a spanning Tree?
What is the difference between %d and %i?
What is structure data type in c?
Find MAXIMUM of three distinct integers using a single C statement
Explain goto?