πŸ“Š Programming for Problem Solving
Q. What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?
  • (A) The element will be set to 0.
  • (B) The compiler would report an error.
  • (C) The array size would appropriately grow.
  • (D) The program may crash if some important data gets overwritten.
πŸ’¬ Discuss
βœ… Correct Answer: (D) The program may crash if some important data gets overwritten.

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
536
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate