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

If the product of two numbers is 10 and the sum of the two numbers is 7, then the larger of the two numbers is

2 Answers  


Differentiate between content and structural words.

0 Answers   Mahatma Gandhi University,


What is Superblock and where is it stored, at the end of file system or at beginning of partion

0 Answers   Micro Infoware, SGI,


why is a personnel function required in all organisation and how applicable are business objectives to it

0 Answers  


Distinction between Indus Civilisation and Vedic Civilisation

0 Answers  


what types of question asked in english section

0 Answers   EON IT Park, TATA, Tata Communications, TCS,


plz send bank of india aptitute questions....

3 Answers   Bank Of India,


plz send me last 10 years bank clerk papers for obc clerk paer preparation

0 Answers  


what is router

1 Answers  


which language is called as the mother of english?

4 Answers  


7,12,40,222,1744,?

0 Answers  


Windows : Room a) Cupboard : Wall b)Lenticel : stem c) spore : Leaf d) hole : socks

1 Answers   eClerx,


Categories