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 code for 3 questions and answer check in VisualBasic.Net?
What is the use of function in c?
What are formal parameters?
i have a written test for microland please give me test pattern
Write a program to print “hello world” without using semicolon?
What is the use of ?: Operator?
Do you have any idea about the use of "auto" keyword?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Is this program statement valid? INT = 10.50;
How to write a code for reverse of string without using string functions?
How many types of functions are there in c?
What is c language used for?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
What is getch c?
Can a local variable be volatile in c?