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

A language L allows declaration of arrays whose sizes are not known during compilation. It is required to use efficient use of memory. which one of the following is true?

A
A compiler using static memory, allocation can be written for L.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
A compiler cannot be written L; an interpreter must be used
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
A compiler using dynamic memory allocation can be written for L
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
None of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B A compiler using dynamic memory allocation can be written for L

A language L allows declaration of arrays whose sizes are not known during compilation. It is required to use efficient use of memory.

A compiler using dynamic memory allocation can be written for L.

Array:- An array is a collection of data items, all of the same type, accessed using a common name.

C dynamic memory allocation refers to performing manualmemory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely malloc, realloc, calloc and free.




906577_917402_ans_3066e54163c241d4bb68475214492767.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Database Structuring
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon