array tag

224 questions


1 answers
49 views
0
This is a language question.

// Enter code here#include <stdio.h>int main(){ char rivers[100]; int count; scanf(%s,rivers); while(rivers[count] != 0) { count++; } for(;count>=0;count--) printf(%s,rivers[count]); retur...

2 years ago

1 answers
62 views
0
2D Array Pointer Inquiry

int **A = { {1, 2, 3, 4} {5, 6, 7 ,8} {9,10,11,12} {13,14,15,16}};A = &A[0] Like A+2 =&A[2]Can I express an int** that refers to an address that corresponds to 11...?

2 years ago

1 answers
66 views
0
When declaring a JAVA string array, how do I stabilize the size and declare it?

For example, determine the size when declaring a string array variable (String[5]), as shown below I have to declare it.String[] apple = new String[5];But what I need is not an array of strings of a g...

2 years ago

1 answers
152 views
0
Question about java array constants.

When declaring an array final int[] arr = {1, 2, 3, 4, 5};If I do this, I can't just change the address value of the arr, but I can change the arrangement contents, right?I want to constant the array ...

2 years ago

1 answers
68 views
0
[C language] Input and output a string into a two-dimensional array

I'm trying to enter a string in a two-dimensional array, but it doesn't workIf the name of the two-dimensional array is matrix, is it correct that each character in the string is in matrix[i][j]?For e...


2 answers
100 views
0
What are references and instances?

I'm studying Java and the address of the array is called a referenceI have no idea about the reference, so I'm asking you a question.What are references and instances?I hope it's easy to understand be...


1 answers
83 views
0
Compare c++ string characters and string arrangements ㅠㅠ

I'm comparing string characters and string arrays. #include <iostream>#include <string>int main(){string Subway[] = {Bulgwang, Hapjeong, Mapo-gu Office, Mangwon};string a = Telescence;int ...


1 answers
61 views
0
Array in Python array

# -*- coding: utf-8 -*-#country = [san_fransico,cicago,montrial,new_york,washington,atlelanta,miami,mexico_city,los_angeles,bogota,saint_paaulu,Bueno,rima,santiago]country=[san,ci,mon,new,at,wa,los,me...

2 years ago

1 answers
57 views
0
I'm asking for your help because I don't understand the example sentence about arranging JavaScript arrays.

<!DOCTYPE html><html> <body> <p id=demo></p> <button onclick=myFunction()>Try it</button> <script> var points = [40, 100, 1, 5, 25, 10]; document.g...

2 years ago

1 answers
53 views
0
To replace an object array with a String array in Java

Object Object_Array[]=new Object[100];String String_Array[]=new String[Object_Array.length];for (int i=0;i<String_Array.length;i++) String_Array[i]=Object_Array[i].toString();Code to convert an obj...

2 years ago
« - 11 - »

© 2024 OneMinuteCode. All rights reserved.