224 questions
// 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...
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...?
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...
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 ...
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...
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...
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 ...
# -*- 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...
<!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...
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...
« | - 11 - | » |
© 2024 OneMinuteCode. All rights reserved.