array tag

224 questions


3 answers
73 views
0
How do I wrap an array with a string?

Based on Chrome var a = [abc, def, ghi];If you make it like this [abc, def, ghi]You know... But this'[abc, def, ghi]'Is there a function that makes it into a string?


1 answers
73 views
0
I'd like to compare class fields in Java, but I have a question

public class Number { int[] array0 = new int[]{2,7,19,25,29,36,16}; int[] array1 = new int[]{2,10,12,31,33,42,32}; int[] array2 = new int[]{3,8,19,27,30,41,12}; int[] array3 = new int[]{2,6,7,12,19,45...

2 years ago

1 answers
57 views
0
This is a question when setting up an array in a two-dimensional array.

#include <stdio.h>int main(void){ int a[20][20] = {}; int q,i,j,x,y; scanf(%d,&q); for(i = 0; i < q; i++) { scanf(%d %d,&x,&y); a[x][y] = 1; } for(i = 1; i < 21; i++) { for(...

2 years ago

1 answers
75 views
0
C language arrangement question

C language array_list Please tell me how to get the result value in the find statement~ When you add a value to an array and navigate, The price of garbage is coming outAnd while studying, I'm measuri...

2 years ago

1 answers
133 views
0
Python array

Make a=[] in Python. If you put a value in a.append, the value goes into the list of a.Is there a command to create an empty matrix just like a=[]?If you have, I would appreciate it if you could let m...

2 years ago

1 answers
63 views
0
I wonder how many bytes are in the java array

int [6] = { 11, 22, 33, 44, 55, 66 };Is the total number of bytes in the above array 24 bytes?

2 years ago

1 answers
107 views
0
I can't delete it

I modified it because it couldn't be deleted

2 years ago

1 answers
66 views
0
c language arrangement

#include <stdio.h>int main(void) { char ar[] = {a,b,c,d,e,f,/0}; printf(%s\n, ar); return 0;}I wrote it like this In Visual Studio, You cannot initialize an entity in the char * format using a v...

2 years ago

1 answers
66 views
0
I want to know how to declare C language 2D array + pointer array!

int arr[2][3] = { {1,2,3},{4,5,6} }; int(*parr)[3];parr = arr;I'm not sure what int (*parr)[3]; means in the above code.The arr array declared in the first line consists of two rows and three rows(*pa...

2 years ago

1 answers
68 views
0
About the behavior of indexOf in JS

I have a question because I don't understand the indexOf of the arrangement during JS study.const o = { name: Jerry };const arr = [1, 5, a, o, true, 5, [1, 2], 9];arr.indexOf({ name: Jerry }); // -1ar...

2 years ago
« - 10 - »

© 2024 OneMinuteCode. All rights reserved.