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 make a scientific calculater ?
How can a program be made to print the name of a source file where an error occurs?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
In a switch statement, explain what will happen if a break statement is omitted?
What is pointer to pointer in c?
What are identifiers in c?
What is #line in c?
write a program to find the given number is prime or not
simple program of graphics and their output display
Tell us the use of fflush() function in c language?
What is the most efficient way to store flag values?
Explain the difference between malloc() and calloc() in c?
What does printf does?
Why main is not a keyword in c?
What is a lookup table in c?