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 5771Post New Rolant Interview Questions
Why quicksort is better than merge sort?
How to Avoid an Application Error when using EM_POSFROMCHAR ?
and gate circuit diagram,amplifier circuit diagram
What are the steps to get a proxy object of a web service at the client side?
Is it possible to increase size of array?
How does reference counting manage memory allocated objects? When can it fail to reclaim objects?
How to convert sting to number and viceversa in python?
Define primary key?
What is a composite primary key?
what is transient voltage?
What is shadow it?
How do I parse xml in python?
Can a constructor be made final?
How to create lov dynamically at runtime & attach to text field?
What is django exception?