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 5870Post New Rolant Interview Questions
Define property in c#.net?
What is static memory allocation? Explain
What is a factor variable, and why would you use one?
How do you end a session in php?
What is EDI? Why is it used?
What is the point of foreign keys?
What is a void method java?
What is the formula for calculating the Instantaneous Short Circuit & overcurrent for any breaker
What codec is needed for powerpoint?
Please explain is the jit an interpreter?
What is "this" keyword in java? Explain
Is $http service is restful web service in angular js?
Which dos command is used to delete one or more files?
Tell me about view, sequence and index in DBMS.
Is python better than bash?