Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
True memory size of arr[]
arrays
c#
memory
0 Vote
2 Réponses
29th Jul 2021, 11:24 AM
Kiwwi#
Can't create array such as arr[] : { a , b , c , d , e } ?
arrays
c++
0 Vote
7 Réponses
2nd Nov 2016, 9:07 PM
Deneroth Eisenhorn
int arr[] = {1, 2, 3, 4, 5}; (int x = 0; x < 5; x++) { printf("%d", [x]); }
array
6 Votes
1 Réponse
17th Apr 2022, 4:14 PM
Arafat Rahon
Why is it that some method have parenthesis and some are not having. Examples: int[] arr= new arr[] arr.length arr.append()
arrays
functions
0 Vote
3 Réponses
14th Feb 2022, 1:38 PM
Emmanuel Ojo
if you assign an arr[] to arrr[] . The modified first array will also be equal to the arrr[]?
arrays
java
1 Vote
1 Réponse
23rd Nov 2018, 10:56 PM
Ronald Allan Rupuesto
int arr[] = {11, 35, 62, 555, 989}; int sum = 0; for (int x = 0; x < 5; x++) { sum += arr[x]; } cout << sum << endl
arrays
5 Votes
8 Réponses
27th Nov 2016, 4:31 PM
Bhairesh M
What is the output of this code? int arr[] = {2, 4, 6}; int x = (*arr + 1) * (*(arr + 1)); cout << x;
cpp
1 Vote
1 Réponse
30th Aug 2020, 2:55 PM
Bayzid
Input: arr[] = {1, 2, 3, 4, 5, 5, 5, 5, 5, 2, 2, 1, 1} Output: 5 Explanation: The subarray (5, 5, 5, 5, 5} has maximum lengt
do
know
-1 Vote
2 Réponses
2nd Dec 2021, 9:29 AM
Naveen Kumar
how do I get an output of '2' in the program below? int main() { int arr[] = { 3, 1, 2, 5 }; count<<arr[ ]; what do I need to insert in this program to give me an output of '2' ? Thanks
c++
0 Vote
3 Réponses
27th Sep 2016, 4:59 PM
Ibim
challege
and
arr[]
array
blanks
calculate
elements.
fill
foo(int
in
int
mult
multiplication
of
product
return
size)
the
to
-1 Vote
1 Réponse
16th Jan 2017, 7:41 AM
Mpho Percy Mkhwanazi
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
Discrete-Time Signal Representation
0 Votes
Hey, is the "Snowflake" mission not working?
0 Votes
Detach thread exception
1 Votes
Bug in the answers checking algorithms?
0 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
How to make a 2d game
0 Votes
I want to learn Lua but don’t know where
2 Votes
Html
1 Votes
Create a program that will allow user to input grades from five subjects and display the average grade.
0 Votes