C Pointers with Arrays
Address of num[i] = base address + i * scale factor // scale factor is the size of the data type used to create an array
Press Esc to close
Archive
Address of num[i] = base address + i * scale factor // scale factor is the size of the data type used to create an array
In this tutorial, we are going to learn about how to pass an array (1-D or 2D) to a function. Understanding Functions with 1-D arrays: Arrays can also be…