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 5931Post New Rolant General Aptitude Interview Questions
How many have joined in the last year?
How long can an identifier be in python?
Is dependency injection a pattern?
What do you mean by bootstrap classloader?
How you can use “submit” a form using selenium?
Can’t one material be assigned to more than one operation in a routine?
Give an example of the -i and 0s option usage.
What are triggers in mysql?
What are SAE ratings?
How many gb do you need for windows 10?
What is the purpose of @element?
what is rsa algorithm?
Describe two uses of the “using” statement during the operation of c#?
What is a schema in ms sql server 2005?
What is the difference between scripting and programming?