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

Explain about the constants which help in debugging?

1422


how to build a exercise findig min number of e heap with list imlemented?

2127


What is memory leak in c?

1175


How many data structures are there in c?

1171


Is printf a keyword?

1260


What is c system32 taskhostw exe?

1073


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1312


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1130


Difference between MAC vs. IP Addressing

1201


what is the structure pointer?

2180


Explain what does the format %10.2 mean when included in a printf statement?

1414


Calculate 1*2*3*____*n using recursive function??

2099


Can you please explain the difference between exit() and _exit() function?

1086


What is const keyword in c?

1221


What is typedef?

1509