• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

shouldn't an array of integers containing 9 elements be int a[8]; as the array starts from 0. and 0 to 8 would be 9 elements. please explain.
arraysc++
0 Vote
3 Réponses
21st Sep 2016, 2:45 AM
Rick
Should I think of indexing or offset (that starts from 0 rather than 1 in python) not as the number of the character itself, but
indexingprogrammingpython
0 Vote
1 Réponse
10th Sep 2017, 3:55 PM
prantik chakraborty
prantik chakraborty - avatar
why the answer of this code is [0, 1, 4, 9, 16, 25, 36, 49, 64] and not [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] and iam remember that -1 starts from the last no. in the list , then why the answer is not include 81????
listspython
0 Vote
3 Réponses
4th Aug 2016, 5:31 PM
Ahmed Kamal
Ahmed Kamal - avatar
in the LIMIT section it is said that the offset starts from 0 then why in this BETWEEN section rhe example is not like that...we are declaring from 3 to 7 and it is displaying from 3-7...as per said in the LIMIT it must have started from 4...can anyone explain this please???
sql
2 Votes
2 Réponses
8th Aug 2016, 12:47 AM
Gadagoju Prudhvi
Gadagoju Prudhvi - avatar
< Précédent123Suivant >
Aujourd'hui en vedette
I need help
1 Votes
My hearts are disappering :(
0 Votes
How to learn python fast than usual in sololearn?
0 Votes
What can html, css and javascript do
0 Votes
a phone or a laptop
0 Votes
Pressure and tension
2 Votes
Where is code bit
0 Votes
How to make a selection on a calculator in Python
0 Votes
Conducción de calor o Q=−kAdTdxQ = -k A \frac{dT}{dx}Q=−kAdxdT o Pared 2 m², espesor 0.1 m, k = 50 W/m°C, ΔT = 30°C → Q ≈ 30,0
0 Votes
Java IDE for building a game.
0 Votes