Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why is c used in embedded systems?

1132


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

1315


What tq means in chat?

1134


What are data structures in c and how to use them?

1183


ATM machine and railway reservation class/object diagram

5257


What is indirection in c?

1079


Differentiate fundamental data types and derived data types in C.

1045


p*=(++q)++*--p when p=q=1 while(q<=6)

1771


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?

1067


Write a Program to find whether the given number or string is palindrome.

1288


What is a spanning Tree?

1603


What is the difference between %d and %i?

1109


What is structure data type in c?

1035


Find MAXIMUM of three distinct integers using a single C statement

1081


Explain goto?

1167