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

what are non standard function in c

1967


What is a substring in c?

1078


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2750


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1577


Why do we use return in c?

1043


What is the purpose of sprintf?

1201


Write the control statements in C language

1273


Write a program on swapping (100, 50)

1164


Do you have any idea how to compare array with pointer in c?

1090


What is file in c preprocessor?

1194


Why is c so popular?

1203


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1367


How can you draw circles in C?

1195


What library is sizeof in c?

1137


Explain 'bus error'?

1161