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 5853Post New Rolant Interview Questions
What happens if an exception is not handled in a program?
What is html xml css?
financial managers are responsible for obtaining and using funds in a way that will maximize the value of the firms. Please explain.
Replication causes data redundancy then why is is pursued in HDFS?
Customization is done in dev db. Which tool can be used to move it to prod db?
How many job tracker processes can run on a single Hadoop cluster?
What is the use of @required annotation?
What is shadow dom?
What are the difficulties u faced while doing vital signs table or dataset?
how to fall in love?
What kind of pipes are used for steam lines?
What is data control techniques?
Which language is better for machine learning r or python?
What is the difference between import system.data.sqlclient and system.data.oledb?
Explain difficulties in nlu?