how to convert binary to decimal and decimal to binary in C
lanaguage

Answer Posted / fazlur rahaman naik

u can use bitwise operators and some logical thinking.

Is This Answer Correct ?    26 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I learn c before c++?

978


What is the difference between fread and fwrite function?

855


Explain do array subscripts always start with zero?

955


The __________ attribute is used to announce variables based on definitions of columns in a table?

962


What’s a signal? Explain what do I use signals for?

856


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

834


What are pragmas and what are they good for?

759


Is exit(status) truly equivalent to returning the same status from main?

831


Explain what are its uses in c programming?

802


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

2072


What Is The Difference Between Null And Void Pointer?

865


What is c language in simple words?

818


What is array of pointers to string?

805


Write a program to swap two numbers without using third variable?

1057


Is null equal to 0 in sql?

872