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

0 votes
72 views

Problem:

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

0 votes

Solution:

int tictactoe[3][3];

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];

Related questions

0 votes
2 answers 150 views
150 views
Problem: Declare and instantiate a 3x3 two-dimensional array of integers named tictactoe?
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?
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.
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!
0 votes
1 answer 5 views
5 views
Problem: HELP! i need help understand this line: c++ initialize two dimensional array
0 votes
1 answer 4 views
4 views
Problem: Declare a vector named scores of twenty-five elements of type int?
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
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
0 votes
1 answer 3 views
3 views
Problem How do i assign two dimensional array in c++
0 votes
1 answer 1 view
1 view
Problem: C++ array excercise-help needed?