write a c program whether the given number is power of 2 or
not using the bitwise operators?
Answer Posted / 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 View All Answers
I have complete Graduation through ignou, can apply for sbi clerical job
What is the Water offline conductivity
what should i do i can't remove my weakness?
write code for calculating Standard Deviation in c sharp
The word inference relates to ?
why we need to measure 0.5 micron particals in clean room as used HEPA filters are having 99.97% efficincy.
what improvement make in your unit?
how can disable lancard trought cmd..
tell me your family background.
Suggest measures to improve the speaking skill of students
how to introduce ourself ?
you have to establish a cosmetic industry in India & how you would like to expand in the middle east ?what role of culture will be there in your HR practices n also highlight an employee management issue you would face n give remedies as to now would you tackle those issues.
general hr question so asking for interview time company please sir request
linux advantages and important questions &anwers
Explain any four techniques each for presenting and expanding vocabulary.