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
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What are variables and it what way is it different from constants?
Why is extern used in c?
how is the examination pattern?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Is it fine to write void main () or main () in c?
What is this infamous null pointer, anyway?
Is printf a keyword?
Where are c variables stored in memory?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
How can I run c program?
What do header files do?
What do you mean by dynamic memory allocation in c? What functions are used?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What are qualifiers in c?