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
What does static variable mean in c?
how should functions be apportioned among source files?
What is a macro?
What is hungarian notation? Is it worthwhile?
How to declare pointer variables?
What is a volatile keyword in c?
What is new line escape sequence?
What is 2c dna?
What is pointer to pointer in c?
How to draw the flowchart for structure programs?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
How will you write a code for accessing the length of an array without assigning it to another variable?
How can you check to see whether a symbol is defined?
what do u mean by Direct access files? then can u explain about Direct Access Files?
how many errors in c explain deply