Computer Science, asked by anushkajain47, 3 months ago

What will be the output of the following C++ language code?
#include <iostream>
using namespace std;
int main()
int r10 = {1, 24, 33};
cout << -2[r1];
return 0;
}​

Answers

Answered by padmakeerthinarayana
0

Answer:

i think its an error because if u want to multiply -2 with r1 u have to write it as -2*[r1]

then i may give u -2*24 = -48

but y did u write r10 , and u haven't intialized too so it may be an error

Similar questions