What is the output of the following code?

```
#include
using namespace std;
int main()
{
int list[] = {10, 20, 30, 40};
cout << *(list + 1) << " " << *list + 1 << endl;

return 0;
}
```

A. 10 10
B. 20 11
C. 30 30
D. 20 20


B. 20 11

Computer Science & Information Technology

You might also like to view...

Show the output of the following program using the input data: 8 -3 20

Computer Science & Information Technology

Is the following legal? Why or why not?

Consider the class definition: ``` class IntPair { int first; int second; public: IntPair(int firstValue, int secondValue); const IntPair operator++( ); //Prefix version const IntPair operator++(int); //Postfix version int getFirst( ) const; int getSecond( ) const; }; ``` ``` IntPair a(1,2); (a++)++; ```

Computer Science & Information Technology

Which of the following is not a type of analysis result given by the Performance Analyzer tool?

A. Ideas B. Suggestions C. Recommendations D. Required

Computer Science & Information Technology

You can have at most one blog account registered with Word.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology