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
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'); }
What is a null string in c?
Why is structure padding done in c?
Explain how do you sort filenames in a directory?
What is the difference between variable declaration and variable definition in c?
What is the heap in c?
What will the preprocessor do for a program?
What is extern keyword in c?
main() { printf("hello"); fork(); }
Can a pointer be null?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
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
What is the most efficient way to count the number of bits which are set in an integer?
Where register variables are stored in c?