Selasa, 28 Februari 2017

How to use pointers in Arrays in C Programming Language

When an array is declared in a program, the compiler allocates a base address and sufficient amount of storage to contain all the elements of the array in contiguous (continuous) memory locations. A pointer is a derived data type in C. It is built from one of the fundamental data types available in C. Pointers contain memory addresses as their values. Since these memory addresses are the locations in the computer memory where program instructions and data are stored, pointers can be used to access and manipulate data stored in the memory. Pointers are more efficient in handling arrays and

The post How to use pointers in Arrays in C Programming Language appeared first on Coding Security.


How to use pointers in Arrays in C Programming Language
read more

Tidak ada komentar:

Posting Komentar