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
Should I learn c before c++?
What is the difference between fread and fwrite function?
Explain do array subscripts always start with zero?
The __________ attribute is used to announce variables based on definitions of columns in a table?
What’s a signal? Explain what do I use signals for?
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
What are pragmas and what are they good for?
Is exit(status) truly equivalent to returning the same status from main?
Explain what are its uses in c programming?
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(); }
What Is The Difference Between Null And Void Pointer?
What is c language in simple words?
What is array of pointers to string?
Write a program to swap two numbers without using third variable?
Is null equal to 0 in sql?