New course! Every coder should learn Generative AI!
Try a free lesson+ 1
*ptr accesses data somewhere. Let's say it's an int.
sizeof that int would be 4 bytes.
So 10*4 bytes would mean:
Please require 40 bytes of memory (so enough room for 10 ints).