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 5768Post New Rolant General Aptitude Interview Questions
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
Which process places data at the back of the queue?
How is cost center accounting related to profit center?
How do minerals become rocks and rocks become soil?
Explain eigenvalue and eigenvector
How to Get the time and date in Universal Time ?
When you will not automate testing?
What is difference between iterator and enumeration in java?
Which property is used to set the width of the outline?
How would you deal with slow application complaint from clients?
What is apache access?
What does you mean by positive and negative testing & what is the difference between them. Can anyone explain with an example?
Describe about the foreignness of a molecule, which makes a substance antigenic?
How many run modes are there in Talend?
How a test engineer will convince a test lead when he didn't approve the bug as a report ???