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

Which is the Magic word in English?

29 Answers   FIC, First Indian Corporation, HCL,


how effective communication can be made ?

2 Answers  


what did you do yesterday?

9 Answers   Genpact,


what do you know about tcs company

2 Answers   TCS,


why do used bucolzh relay in 1000kva transformer

0 Answers  


SSC ? Grade ?D? Exam ENGLISH CLOSET TEST TEST ? 24

1 Answers  


Talent or Hrad work wich is most important for me?

19 Answers   Infosys,


How did your supervisor on your most recent job evaluate your job performance ?

0 Answers  


Suggest any two synthetic methods of teaching reading.

0 Answers   Mahatma Gandhi University,


Repetaed Questions like 1)finding the unrepeated from 2n-1 nos and 2)finding duplicate no 3)better datastructure for paranthesisi elimination?

1 Answers   Yahoo,


briefly describe your ideal job

1 Answers   Technip,


Problems on Trains, Time and Distance, Problems on Numbers, Calendar

0 Answers   Amazon,


Categories