# Declare and instantiate a 3x3 two-dimensional array of integers named tictactoe?

169 views

## Problem:

Declare and instantiate a 3x3 two-dimensional array of integers named tictactoe?

## Solution:

int tictactoe[] []= new int [3][3];

A variety of array is known as 2D array. The two dimensional (2D) array in C writing computer programs is otherwise called network. A framework can be spoken to as a table of lines and segments. Example :int tictactoe[] []= new int [3][3];
A 2D array has a sort, for example, int[][] or String[][], with two sets of square sections. The components of a 2D array are organized in lines and sections, and the new administrator for 2D array determines both the number of lines and the number of segments.

## Related questions

79 views
Problem: Declare a 3x3 two-dimensional array of integers named tictactoe.?
7 views
Problem: Declare a vector named scores of twenty-five elements of type int?
7 views
Problem: How does eclipse must declare a named package?
46 views
I need to make a [console] program that gets the full names of five people, as well as their three grades to calculate their average. Instead of declaring variable by variable string nom1, nom2 //... int cal1, cal2 //... I want to make a for loop (or ... at the end because "the identifiers are not defined". Is it possible to achieve this, or is it something that not even magic can achieve?
15 views
I need to make a [console] program that gets the full names of five people, as well as their three grades to calculate their average. Instead of declaring variable by variable string nom1, nom2 // ... int cal1, cal2 // ... I want to make a for loop (or ... at the end because "the identifiers are not defined". Is it possible to achieve this, or is it something that not even magic can achieve?
1 vote
12 views
Problem: What is the difference between these two? Difference between one dimensional and two dimensional array in c.
24 views
My problem to solve is this: Make a structure called student, in which you will have the fields: name, age, average and data will be requested from the user of how many students will enter and check which of them has the best average and print it, use pointers. I would ... struct Student {      char name [30];      int age;      average float; } student [nStudents], * studentPointer = student;