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

CopyBits(x,p,n,y)
copy n LSBs from y to x starting LSB at 'p'th position.

Answer Posted / mohammed sardar

Sorry above answer ; I did a mistake
t=0;
for(i=n; i>0; i--)
{
t|=(1<<p);
p++;
}
x=x&~t
t=t&y;
x=x|t;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the memory area not included in C program? give the reason

1999


The statement, int(*x[]) () what does in indicate?

1205


How does #define work?

1131


What are the 4 types of programming language?

1193


What is a protocol in c?

1058


What are the types of type qualifiers in c?

1141


What does void main () mean?

1306


What was noalias and what ever happened to it?

1100


Explain is it valid to address one element beyond the end of an array?

1252


provide an example of the Group by clause, when would you use this clause

2249


What is difference between && and & in c?

1160


Not all reserved words are written in lowercase. TRUE or FALSE?

1281


How can I change their mode to binary?

1186


what is the basis for selection of arrays or pointers as data structure in a program

4345


What does node * mean?

1308