ISRO | ISRO CS 2020 | Question 69

An array of 2 two byte integers is stored in big endian machine in byte address as shown below. What will be its storage pattern in little endian machine ?

Address Data
0 × 104 78
0 × 103 56
0 × 102 34
0 × 101 12 

(A)

0 × 104 12
0 × 103 56
0 × 102 34
0 × 101 78 

(B)

0 × 104 12
0 × 103 34
0 × 102 56
0 × 101 78 

(C)

0 × 104 56
0 × 103 78
0 × 102 12
0 × 101 34 

(D)

0 × 104 56
0 × 103 12
0 × 102 78
0 × 101 34 


Answer: (B)

Explanation:

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.