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

HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2634


When is a void pointer used?

1189


Do you know null pointer?

974


When a c file is executed there are many files that are automatically opened what are they files?

1034


What's the right way to use errno?

1085


What is volatile variable in c with example?

994


What are categories used for in c?

1033


In a switch statement, what will happen if a break statement is omitted?

1005


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1649


What does the error 'Null Pointer Assignment' mean and what causes this error?

1153


How is actual parameter different from the formal parameter?

973


What is the difference between scanf and fscanf?

1195


Explain how can I manipulate strings of multibyte characters?

1153


What is meant by high-order and low-order bytes?

1001


what is stack , heap ,code segment,and data segment

2631