I need an example for programming in C++ or Java. It is for 25 points .Hurry up!
Answers
Answered by
1
#include
Void main()
{
Cout<< "hello world ";
}
Hope it helps u
Void main()
{
Cout<< "hello world ";
}
Hope it helps u
Answered by
1
Hi friend
int[] values = new int[ 10 ];
values[ 20 ] = 2; // error! You get an ArrayIndexOutOfBoundsException
In C or C++
,
the same operation results in...well, it just writes the data there.
int values[ 10 ];
values[ 20 ] = 2;
int[] values = new int[ 10 ];
values[ 20 ] = 2; // error! You get an ArrayIndexOutOfBoundsException
In C or C++
,
the same operation results in...well, it just writes the data there.
int values[ 10 ];
values[ 20 ] = 2;
Similar questions
Geography,
8 months ago
Math,
8 months ago
English,
8 months ago
English,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago