How can I determine whether a machines byte order is big-endian or little-endian?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

0 Answers   HCL,


Explain the use of #pragma exit?

0 Answers  


How can I access memory located at a certain address?

3 Answers   Verizon,


What ios diff. Between %e & %f?

3 Answers   Honeywell,


sum of two integers values only other then integer it should print invalid input.

1 Answers  






What is this pointer in c plus plus?

0 Answers  


write a program to print largest number of each row of a 2D array

0 Answers  


What is the correct code to have following output in c using nested for loop?

0 Answers  


How do we declare variables in c?

0 Answers  


main() { float a=8.8; double b=8.8; if(a==b) printf("Equal"); else printf("not equal"); getch(); } what is the output? with reason

6 Answers   CSC,


how to use virual function in real time example

1 Answers   CTS, Wipro,


Go through this linked list concept.While traversing through the singly linked list sometimes the following code snippet "while(head != NULL)" is used and other times "while(head->link != NULL)"is used(Here head is the pointer pointing to the first node,node has two parts data part and link part).What is the difference between head != NULL and Head->link != NULL and in which situation are they used?

1 Answers   Oracle,


Categories