☰
GkSeries.com
✕
Current Affairs Quiz 2025
GK
Courses
Aptitude
Banking
English
UGC NET
Home
/
Computer Engineering
/
What will happen if an element is assigned a value to an element of an array whose subscript exceeds the size of the array?
Q.
What will happen if an element is assigned a value to an element of an array whose subscript exceeds the size of the array?
[A] It will not be allowed, but no error message will be generated
[B] Compiler will generate an error message suggesting the name
[C] The element will be assigned NULL VALUE
[D] Some other data may be overwritten
Answer & Explanation
Option: [D]
← Go To First Question
Next Question →
Click Here to Read more questions