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...

write a C program, given number is double without using addt
ion and multiplication operator?ex:n=6,ans=12,pls send me ans
to goviseenu@gmail.com

Answer Posted / vadivelt

Do shift the given number left once.
ie., n<<1

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are there namespaces in c?

1067


What is use of #include in c?

1110


What is the difference between variable declaration and variable definition in c?

1027


Write a program for Overriding.

1127


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2061


What does 1f stand for?

1101


How can this be legal c?

1055


Explain how can I right-justify a string?

1007


Explain Basic concepts of C language?

1092


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

4258


which type of aspect you want from the student.

2130


What are the __date__ and __time__ preprocessor commands?

1058


List the variables are used for writing doubly linked list program.

1974


What are different types of operators?

996


Explain the binary height balanced tree?

1137