[Solved] C++ size of operator on an array parameter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

[Solved] C++ size of operator on an array parameter

If you have a function with an array as a parameter, is there a way to get the size of that array with sizeof? I’ve looked online but I don’t understand what they mean very well with pointers and all that

1st Jun 2022, 4:10 AM
ITDW
1 Answer
+ 1
You can find a way here (Flash's answer) https://www.sololearn.com/Discuss/2618740/?ref=app Please don't trash the tags ...
1st Jun 2022, 4:30 AM
Ipang