Computer Science, asked by renumittalia8006, 11 months ago

What will happen in a c program youassign value to an array element whose subscript exceeds the size of array?

Answers

Answered by Anonymous
0

Explanation:

What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array? The element will be set to 0. The compiler would report an error. The program may crash if some important data gets overwritten.

Answered by ItzDevilQueen07
6

Answer:

In C, if we pass an array as an argument to a function, what actually get passed? Explanation: In C language when we pass an array as a function argument, then the Base address of the array will be passed.

Explanation:

hope it helps you...........

Similar questions