Write a function that accepts two numbers,say a and b and
makes bth bit of a to 0.No other bits of a should get
changed.
Answer Posted / ramkumar
int func(int a,int b)
{
int ans;
ans = a - 2^b;
return ans;
}
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
What is the return type of sizeof?
What is bubble sort technique in c?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What is the meaning of c in c language?
How can I sort a linked list?
How is a pointer variable declared?
Write a program to generate random numbers in c?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Explain zero based addressing.
What are directives in c?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Is int a keyword in c?
What are dangling pointers? How are dangling pointers different from memory leaks?
How can I do graphics in c?
What does the message "automatic aggregate intialization is an ansi feature" mean?