Why we write "sizeof" is that important | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we write "sizeof" is that important

7th Jan 2020, 8:08 PM
Thisari Kanchana
Thisari Kanchana - avatar
1 Answer
+ 1
Size of is a method used with maps and arrays etc to find out the number of data contained in a map or an array. Eg Var a= [1,2,3,4,5,6]; alert(sizeof(a)); This outputs 5 Happy coding 😉 Keep coding 🙏🏾
7th Jan 2020, 9:05 PM
Alfred Juma
Alfred Juma - avatar