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 5928Post New Rolant Interview Questions
What are activities in uipath?
What are the differences between support packages and kernel upgrade.
Why do people use azure?
What is the default value of decimal in c#?
Explain the each() function?
What are the challenges in iot?
User interface types in Android?
How do I know if my cpu is overheating?
How can we find database related issues?
What is widgets in yii? How we can use it?
Describe the scenarios where we go for joiner transformation instead of source qualifier transformation?
What are you hobbies?
if you stuck in problem what will you do?
What are mq channels?
What are advantages of arc over mrc?