Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a c program whether the given number is power of 2 or
not using the bitwise operators?

Answers were Sorted based on User's Feedback



write a c program whether the given number is power of 2 or not using the bitwise operators?..

Answer / good_boy123

you go to the market and bought book "let us c" wiritten by
yashbant kanitkar and find the answer in the book

bhik mang ne adat choro varna bhikari ban jo gay

Is This Answer Correct ?    3 Yes 9 No

write a c program whether the given number is power of 2 or not using the bitwise operators?..

Answer / ritesh kunte

#include<conio.h>
#include<stdio.h>
void main()
{
int no;
clrscr();
printf("Enter any no:");
scanf("%d",&no);
if(no%2==0)
printf("No is multiple of 2");
else
printf("No is not multiple of 2");
getch();
}

Is This Answer Correct ?    5 Yes 18 No

Post New Answer

More English Interview Questions

I have attended Scientist Entry Test on 7th Sep. Hereby I am submitting paper for Electronics and Communication branch…….. Hope it helps future aspirants……..

0 Answers   DRDO,


how do you identify your self?

0 Answers  


The total weight of a tin and the cookies it contains is 2 pounds after some of the cookies are eaten, the tin and there remaining cookies weigh 0.8 pounds. What is the weight of the empty tin in pounds ?

0 Answers  


hi sir i am doing b.e final year computerscience i want merittracks model question paper pls send link for all merittraks question paper..

0 Answers  


What does prefer mean?

3 Answers   Yardi,


what is the origin place of english language?

5 Answers  


sir please send me last 5 years solved question paper of junior engineer track machine of electronics & communication engineering branch

0 Answers  


i MATHI PREPARING FOR BANK EXAMS PLEASE SEND ME A MODEL QUESTION PAPER FOR MY PREPARATION. WITH KIND REGARDS MATHI

1 Answers  


how was ur last weekend

3 Answers   Genpact,


hsbc online test related

3 Answers   HSBC,


SQL> desc product1; Name Null? Type ----------------------------------------- -------- ---------------------------- PROD_ID NOT NULL NUMBER(38) PROD_QTY NUMBER(38) SQL> select * from product1; PROD_ID PROD_QTY ---------- ---------- 123 300 124 200 SQL> desc pmsales; Name Null? Type ----------------------------------------- -------- ---------------------------- PROD_ID NOT NULL NUMBER(38) PMS_QTY NUMBER(38) SQL> select * from pmsales; PROD_ID PMS_QTY ---------- ---------- 123 100 124 200 SQL> create view pmas_prod 2 as select p.prod_id,p.prod_qty,pm.pms_qty 3 from product1 p,pmsales pm 4 where p.prod_id=pm.prod_id; View created. SQL> update pmas_prod 2 set prod_qty=prod_qty-pms_qty; 2 rows updated. SQL> select * from product1; PROD_ID PROD_QTY ---------- ---------- 123 200 124 0 SQL> insert into pmas_prod values(125,400,200); insert into pmas_prod values(125,400,200) * ERROR at line 1: ORA-01776: cannot modify more than one base table through a join view Q How can we insert into this table ?

0 Answers  


what is the best example of customer service that you have come ?

3 Answers   AirIndia,


Categories