Computer Science, asked by anandmaurya159806, 11 months ago

What is the output of the following program

main()

{

int a[5];

a[-2] = 10;

a[2] = 1;

printf(“%d”, -2[a]);

}

1. God knows

2. Compilation error

3. 10

4. –1​

Answers

Answered by lalithapuppala55
0

Answer:

2) compilation error my friend

Answered by armantiwari5129
0

Answer:

2. Compilation error is the absolute answer

Similar questions