0
about the length of an array
Please help~ what is the code for finding the length of an array? e.g. int arr[]={1,2,3,4} how to output 4 for showing the length/number of elements in array arr
12 Respostas
+ 1
~ swim ~ is there any direct coding to find the length🤔
+ 1
Thx~
+ 1
Thx a lot~
0
~ swim ~ oh🤔will it be taught in sololearn?cuz i havnt finished all the chapters of C++ in sololearn yet so i dont know if it will be taught in the remining chapters
0
Could you suggest me some websites or apps for learning extended C++ materials ?
0
Manoah Thx~
0
Manoah
I previously learnt in sololearn that "&number" can show the address of the variable "number". So what does" &number + 1"mean?🤔
And is *(&number +1) a pointer?🤔how this minus variable "number"can output 4?
*(&numbers + 1) - numbers