Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is difference between main and void main?

1285


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.?

1128


What is the purpose of main( ) in c language?

1184


What are void pointers in c?

1061


What is string concatenation in c?

1132


What is the difference between text files and binary files?

1394


Which header file is essential for using strcmp function?

1533


What are the types of data structures in c?

1210


Explain what is a program flowchart and explain how does it help in writing a program?

1142


Can you assign a different address to an array tag?

1211


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

1242


Is there sort function in c?

1068


Can the sizeof operator be used to tell the size of an array passed to a function?

1173


What is meant by int main ()?

1255


What are the key features in c programming language?

1124