wiz-icon
MyQuestionIcon
MyQuestionIcon
8
You visited us 8 times! Enjoying our articles? Unlock Full Access!
Question

Consider the following declaration of a two-dimensional array in C

char a[100][100];

Assuming that the main memory is byte-addressable and that the array is stored starting form memory address 0, the address of a[40][50] is

A
5040
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
4050
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
4040
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
5050
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon