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
Can stdout be forced to print somewhere other than the screen?
Give me the code of in-order recursive and non-recursive.
What is the stack in c?
What is the heap?
What is static and auto variables in c?
Why is it that not all header files are declared in every C program?
Why main is not a keyword in c?
What is the value of c?
What is #line used for?
What is FIFO?
What is the meaning of typedef struct in c?
What are reserved words with a programming language?
What are derived data types in c?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above