Computer Science, asked by cupcake01, 4 months ago

What is the output of the given program? int main() { int array[] = {10, 20, 30}; cout << -2[array]; return 0; }. Single choice.

(1 Point)

a) -15

b) -30

c) Compiler error

d) Garbage value

Answers

Answered by chandrasekharbattini
1

Answer:

( d is the correct option )

Similar questions