answersLogoWhite

0

In what language?

c and c++

a 5 x 5 array of Int

int nMultiIntArray[5][5];

Answer:

in java

int array[][]=new int[5][5];

in vb

dim array(5,5) as Integer

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is array Explain with syntax?

an array is a collection of the same data type.


What is the syntax for determining the size of an array in C using the keyword sizeof?

To determine the size of an array in C using the keyword sizeof, you would use the syntax: sizeof(array) / sizeof(array0).


How do you declare an array in aspnet?

In ASP.NET, you can declare an array using the following syntax: Dim arrayName As DataType(size). For example, to declare an integer array with five elements, you would write Dim numbers(4) As Integer. You can also initialize an array at the time of declaration using curly braces, such as Dim fruits() As String = {"Apple", "Banana", "Cherry"}.


When does generally declaration syntax error occur?

All syntax errors occur at compile time.


What is the correct syntax for declaring and initializing an array that contains the numers 0-9?

The syntax is: int a[10]; for (int i=0; i<10; ++i) a[i]=i;


What is the syntax of function?

Function declaration, definition, or calling? Pick one.


What is the correct syntax of the declaration which defines the xml version?

<?xml version="1.0"?>


Declaration of two dimentional array in functions?

Possible. void foo (void) { int array [10][20]; ... }


What is the correct syntax for declaring and initializing an array that contains the numbers 0-9?

int x[]={0,1,2,3,4,5,6,7,8,9};


Why array index always starts with zero?

Because that's how the language is defined. In C, C++, and many other languages, array indecies start with zero. This is by convention, and it also reflects the fact that, in C and C++, array-index syntax can also be expressed in pointer-offset syntax. The pointer locates the first element of the array, and the offset indicates how many elements to skip. If a is an array name, then the expression a[n] is completely identical to the expression *(a+n), and vice versa.


Create an anonymous array in java?

An anonymous array in Java is just an array with its contents declared at instantiation. Normal array declaration: int[] nums = new int[3]; nums[0] = 0; nums[1] = 1; nums[2] = 2; Anonymous array declaration: int[] nums = new int[] {0,1,2}; The two examples above will each result in the same array.


What is syntax in c plus plus for declaring a variable?

type variable {[optional array size]} {= optional initializer};