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


Please Help Members By Posting Answers For Below Questions

How can I do graphics in c?

586


What is a pragma?

662


Is that possible to store 32768 in an int data type variable?

685


What is the right type to use for boolean values in c?

576


What is function prototype in c language?

606






Write a code to generate divisors of an integer?

630


Why do we use namespace feature?

573


What is the purpose of sprintf?

611


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1979


By using C language input a date into it and if it is right?

565


What is the most efficient way to store flag values?

678


Can a variable be both static and volatile in c?

600


What are types of preprocessor in c?

611


What is structure pointer in c?

565


What is a global variable in c?

585