Answer Posted / santhi perumal
#include<stdio.h>
#include<conio.h>
int main()
{
int i,number;
printf("Enter the Number\n");
scanf("%d",&number);
for(i=7;i>=0;i--)
{
if((1<<i) & number)
printf("1");
else
printf("0");
}
}
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
What is the size of a union variable?
What are conditional operators in C?
Is c high or low level?
write a program to find out prime number using sieve case?
What is 'bus error'?
What’s the special use of UNIONS?
What is difference between far and near pointers?
What is the difference between a string and an array?
how to count no of words,characters,lines in a paragraph.
Explain b+ tree?
Is fortran still used in 2018?
When should you not use a type cast?
Explain indirection?
What are the types of bitwise operator?
What is huge pointer in c?