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 5926Post New Rolant General Aptitude Interview Questions
How to remove all duplicate values in array in php?
Name some databases that qlikview can connect to?
What is early and late Binding?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
what are the Classes of IP Address
Can you override functions in python?
Which reactor produces more fissionable material than it consumes ?
Which of the following contracts should you use for projects that have a degree of uncertainty and require a large investment early in the project life cycle? A. Fixed price B. Cost reimbursable C. Lump sum D. Unit price
How to set/unset session in django?
How rectangular filter are practically made?
What is a defect?
wat is the default file name of BAPI trace?
What is laracasts?
What is a default constructor and also define copy contrucyor?
what are the different encryption levels in aes?