Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
True memory size of arr[]
arrays
c#
memory
0 Votes
2 Answers
29th Jul 2021, 11:24 AM
Kiwwi#
Can't create array such as arr[] : { a , b , c , d , e } ?
arrays
c++
0 Votes
7 Answers
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 Answer
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 Votes
3 Answers
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 Answer
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 Answers
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 Answer
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 Answers
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 Votes
3 Answers
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 Answer
16th Jan 2017, 7:41 AM
Mpho Percy Mkhwanazi
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Sticky position
2 Votes
Help please?
3 Votes
Hi Friends , how to compile a java code on android.
3 Votes
How to get better with problem-solving and programming
1 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes
Ruby programming?
3 Votes