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

What is the difference between big endian form and little
endian form? write a code to convert big endian form to
little endian and vice versa..

Answer Posted / vish

Small correction in above macro.
'(' was missing in second line.

#define CON(NUM) (NUM&0x000000FF)<<24|(NUM&0x0000FF00)<<8
|(NUM&0x00FF0000)>>8 |(NUM&0xFF000000)>>24

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between if else and switchstatement

1997


What are the application of c?

1157


What is sizeof c?

1117


What is the difference between union and structure in c?

1274


why wipro wase

2367


What are the different types of data structures in c?

1211


What is action and transformation in spark?

1223


What is build process in c?

1202


What is spark map function?

1198


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1287


Can the “if” function be used in comparing strings?

1103


in linking some of os executables are linking name some of them

2200


Why do we use header files in c?

1121


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1425


What is bubble sort in c?

1100