Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does static variable mean in c?

1112


how should functions be apportioned among source files?

1105


What is a macro?

1115


What is hungarian notation? Is it worthwhile?

1227


How to declare pointer variables?

1248


What is a volatile keyword in c?

1165


What is new line escape sequence?

1357


What is 2c dna?

1083


What is pointer to pointer in c?

1116


How to draw the flowchart for structure programs?

9345


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3975


How will you write a code for accessing the length of an array without assigning it to another variable?

1057


How can you check to see whether a symbol is defined?

1104


what do u mean by Direct access files? then can u explain about Direct Access Files?

2096


how many errors in c explain deply

2092