Computer Science, asked by prathmeshsonawane40, 4 months ago

Which of the following statements are correct about the program below?
#include<stdio.h>int main(){int size, i;scanf("%d", &size);intarr[size];for(i=1;
i<=size; i++) {scanf("%d", arr[i]);printf("%d", arr[i]); }return 0;}
The code is erroneous since the subscript for array used in for loop is in the range 1 to
size.
O The code is erroneous since the values of array are getting scanned through the loop.
O The code is erroneous since the statement declaring array is invalid.
O The code is correct and runs successfully.
If the definition of the external variable occurs in the source file before its use in
a particular function, then there is no need for an extern declaration in the​

Answers

Answered by nanananana70
0

Answer:

hindi ko magets .sorry po

Similar questions