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

Explain how do you override a defined macro?

1080


Describe wild pointers in c?

1118


What is structure data type in c?

1023


Write the syntax and purpose of a switch statement in C.

1109


What is malloc() function?

1166


Explain how does free() know explain how much memory to release?

1079


How can a number be converted to a string?

1340


Explain what will the preprocessor do for a program?

1070


Differentiate between static and dynamic modeling.

1134


Where are local variables stored in c?

1048


What is the purpose of clrscr () printf () and getch ()?

1073


What is union and structure?

1126


What do you understand by friend-functions? How are they used?

1210


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

2345


What are the advantages of using macro in c language?

1133