• 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
why is python community is too small in sololearn?
1 Votes
Audio adding
1 Votes
C#
0 Votes
Stuck in Quize
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
C Program
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
Software developer
0 Votes
Asking for final year project ideas!
1 Votes