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 difference between main and void main?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
What is the purpose of main( ) in c language?
What are void pointers in c?
What is string concatenation in c?
What is the difference between text files and binary files?
Which header file is essential for using strcmp function?
What are the types of data structures in c?
Explain what is a program flowchart and explain how does it help in writing a program?
Can you assign a different address to an array tag?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Is there sort function in c?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is meant by int main ()?
What are the key features in c programming language?