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
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
What is string function in c?
What is the difference between strcpy() and memcpy() function in c programming?
What is FIFO?
Explain bitwise shift operators?
How can I call fortran?
how to construct a simulator keeping the logical boolean gates in c
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What is c programming structure?
Write a code to generate divisors of an integer?
Is c easier than java?
What is a loop?
What is the difference between break and continue?
Write a program for Overriding.
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none