What will happen in a c program youassign value to an array element whose subscript exceeds the size of array?
Answers
Answered by
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
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
Hindi,
5 months ago
Math,
5 months ago
Math,
11 months ago
Business Studies,
11 months ago
Math,
1 year ago