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 / amarnathreddy

i am going to write only logic
n=1000
n1=n-(n-1)
1000-999=1

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1991


how to count no of words,characters,lines in a paragraph.

4399


Is printf a keyword?

1178


Which one would you prefer - a macro or a function?

1055


Explain the meaning of keyword 'extern' in a function declaration.

1134


What are the advantages of using new operator as compared to the function malloc ()?

1305


write a program to find the given number is prime or not

4694


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

1132


What is function prototype?

1090


What is sizeof in c?

980


Does c have class?

1072


How can I automatically locate a programs configuration files in the same directory as the executable?

1127


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1120


How can a string be converted to a number?

998


What is the difference between typedef and #define?

1013