We were required to write a program to check whether the given number was of the form 3^n. ( i.e. 3 to the power n). I knew that it can be done by bit manipulation but couldn't make out the logic. i want a solution in C/C++ language
1 5841Post New Rolant Interview Questions
What is pay roll period.
Is php easier than javascript?
What is the purpose of sql profiler in sql server?
What does %d do in c?
How to merge two dictionaries in a single expression?
Explain some of the major built-in objects in asp.net
What is view model in c#?
what is a class library in Ruby?
How do I know if my ssd has bad sectors?
What is GAC in ASP.NET 2.0
How to create a hello world page in xhtml?
What kind of Neutral CT can be placed in 11/0.433KV transformer to be used and what are its specification?
How can we show and hide an element via jquery?
Explain the main advantages of synchronous circuit?
What are the most important skills for sales success?