how to convert binary to decimal and decimal to binary in C
lanaguage
Answer Posted / naveen bhatt
#include<stdio.h>
#include<conio.h>
void main()
{
int i,r,d,num;
for(i=1;i<=num;i++)
r=num%2;
num=d*num/2;
printf("\n the valueis=%d",r);
getch();
}
| Is This Answer Correct ? | 4 Yes | 9 No |
Post New Answer View All Answers
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
When is a void pointer used?
Do you know null pointer?
When a c file is executed there are many files that are automatically opened what are they files?
What's the right way to use errno?
What is volatile variable in c with example?
What are categories used for in c?
In a switch statement, what will happen if a break statement is omitted?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What does the error 'Null Pointer Assignment' mean and what causes this error?
How is actual parameter different from the formal parameter?
What is the difference between scanf and fscanf?
Explain how can I manipulate strings of multibyte characters?
What is meant by high-order and low-order bytes?
what is stack , heap ,code segment,and data segment