If row-major order is used, how is the following matrix stored in memory? a b…

PYQ Accenture Hiring Assessment 2023

If row-major order is used, how is the following matrix stored in memory?

a b c

d e f

g h i

  1. A.

    ihgfedcba

  2. B.

    abcdefghi

  3. C.

    cfibehadg

  4. D.

    adgbehcfi

Attempted by 1211 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…