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 should I prototype a function?

1121


Once I have used freopen, how can I get the original stdout (or stdin) back?

1030


Explain what are multibyte characters?

1111


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1711


What is the difference between printf and scanf )?

1023


What is integer constants?

1015


What happens if you free a pointer twice?

1028


What is the purpose of void in c?

992


Explain what are linked list?

989


What are run-time errors?

1055


What are the storage classes in C?

1069


Why is sizeof () an operator and not a function?

985


What is function and its example?

1110


Function calling procedures? and their differences? Why should one go for Call by Reference?

1041


What are the 4 types of functions?

996