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 small C program to determine whether a machine's
type is little-endian or big-endian.

Answer Posted / sudheer

little india

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1155


What is a null string in c?

1007


Why is structure padding done in c?

1102


Explain how do you sort filenames in a directory?

1008


What is the difference between variable declaration and variable definition in c?

1037


What is the heap in c?

1051


What will the preprocessor do for a program?

1039


What is extern keyword in c?

1102


main() { printf("hello"); fork(); }

1170


Can a pointer be null?

996


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3215


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1065


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

1211


What is the most efficient way to count the number of bits which are set in an integer?

1026


Where register variables are stored in c?

939