• Register
0 votes
72 views

Problem:

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

5 3 2
7,520 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution:

int tictactoe[3][3];

6 4 2
14,580 points
0 votes
A 2D array has a sort, for example, int[][] or String[][], with two sets of square sections. The components of a 2D exhibit are orchestrated in lines and segments, and the new administrator for 2D clusters indicates both the number of lines and the number of sections. We can pronounce the 3*3 two-dimensional exhibit like int tictactoe[3][3];
3 1
580 points

Related questions

0 votes
2 answers 150 views
150 views
Problem: Declare and instantiate a 3x3 two-dimensional array of integers named tictactoe?
asked Apr 18, 2020 ArifulIslam 7.5k points
0 votes
1 answer 67 views
67 views
Problems: I am new in programming and my logic is not good, can anyone give the right solution? How can we declare an array named scores of twenty-five elements of type int?
asked Feb 13, 2020 maddi86 5.4k points
1 vote
1 answer 10 views
10 views
Problem: What is the difference between these two? Difference between one dimensional and two dimensional array in c.
asked Mar 25 PkGuy 14k points
0 votes
1 answer 4 views
4 views
Problem: Hi there! I am a beginner. I have got to initialize a two-dimensional string array with some string values and then print the values stored in it. I have worked with single-dimensional arrays in Java, but have very little knowledge regarding 2D arrays. Can anyone here please provide me the code with detailed explanations and comments? I would be grateful. Thanks!
asked Mar 21 Code Learner 9.5k points
0 votes
1 answer 5 views
5 views
Problem: HELP! i need help understand this line: c++ initialize two dimensional array
asked Mar 9 Rohit kr 17.5k points
0 votes
1 answer 4 views
4 views
Problem: Declare a vector named scores of twenty-five elements of type int?
asked Apr 6 niyatiry 3.6k points
0 votes
1 answer 168 views
168 views
Problems:- Can any one help with one of the query I am facing in declaring variable type Declare a reference variable of type File named myFile. Any Idea
asked Feb 13, 2020 maddi86 5.4k points
0 votes
1 answer 4 views
4 views
Problem: anyone who know this problem please help? how to declare a two dimensional array in java
asked Mar 23 Rohit kr 17.5k points
0 votes
1 answer 3 views
3 views
Problem How do i assign two dimensional array in c++
asked Apr 3 Subhendu 4.5k points
0 votes
1 answer 1 view
1 view
Problem: C++ array excercise-help needed?
asked 18 hours ago sumaiya simi 23.4k points